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 Mark Shannon wrote an implementation plan to accelerate Python that he called CPython. This plan suggested a 4 stages which, as the creator of Python, Guido van Rossum, says, and "was an effort that was too big for a volunteer to carry out".

"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 an executive . "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 for the space telescope and lastly for the space telescope James Webb...

"We're hoping we can bring some knowledge from really big proprietary systems to what we're developing for the Community." says Droettboom in a post on Microsoft's deb blog.

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

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.100 registrants.
Python, microsoft, iguru

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).