News

Python just got faster

It's been a week since Python 3.11 was released — and it's "faster than ever!" says Jay Miller, a developer on Microsoft 's six-member "Faster CPython" team.

The team also includes Python creator Guido van Rossum who offers assistance to other core developers. Miller reports that Python 3.11 "already has speedups of 10-60%".

python

How the team came together:

In 2020, Core Developer Mark Shannon wrote an implementation plan for accelerating Python that he called CPython. This plan proposed a 4-step process that, as Python creator Guido van Rossum says, “was an effort that was too big for a single volunteer to do.”

"From the beginning, my thinking was good, we should try to see if Microsoft can hire Mark and a small team of people to support him." Last year, Van Rossum joined Microsoft as a distinguished engineer. "It was an important effort but it was too big for one person."

Microsoft was open to the idea and created a team of 6 engineers, including Van Rossum. This team was helping other core developers to support the original design.

The original 4 stage design has continued to evolve to have continuous optimizations for years to come.

“To make something as smooth as possible, you have to think in smaller steps,” says team member Michael Droettboom. Droettboom works on long-term projects in the scientific community. He works on the Hubble Space Telescope and most recently on the James Webb Space Telescope …

“We hope we can bring some knowledge from really large proprietary systems to what we’re developing for the Community,” Droettboom says in a post on Microsoft’s deb blog.

You can learn more about what the Faster CPython team has in mind for version 3.12 in their ideas repo on Github.

0 reviews

iGuRu.gr

Join the discussion

Your email address will not be published. Required fields are marked *

Your message will not be published if:

  1. Contains abusive, defamatory, racist, offensive or inappropriate comments.
  2. It causes harm to minors.
  3. It harasses the privacy and individual and social rights of other users.
  4. It advertises products or services or websites.
  5. Contains personal information (address, telephone number, etc.).