106 points · by gjvc · 4y ago · 9 comments
Why now? what has changed that Python now needs to be fast in pure python?
I can still recall when the python core dev team constantly argued against advanced or complicated changes to the virtual machine. Discussions around the GIL and especially JIT (this was around the time pypy was beginning to take shape) were brushed aside as they would introduce too much complexity.
What has changed in the core team to make this PEP acceptable?
Python 3 is a software engineering and data science language, widely used by professionals.
The goals of pre3-python ("import this") have basically been abandoned for the sake of making a more usable seng. language.
Python 3.10 5.323s
Python 3.11 5.305s
Does anyone else get results like these or are you seeing a speedup?fwiw, I got these numbers under Ubuntu running on WSL:
Python 3.8 4.251s
Python 3.11 3.158s
This is on a 11th gen Intel Core i7-11370H w/ 32GB RAM.I haven't tried running / using it, I've just read the pypi documentation.
From the very first sentence of the docs:
> Specialist uses fine-grained location information to create visual representations of exactly where and how CPython 3.11's new specializing, adaptive interpreter optimizes your code.
Which links to https://peps.python.org/pep-0659/ with a lot more details.
Specialist uses fine-grained location information to create visual representations of exactly where and how CPython 3.11's new specializing, adaptive interpreter optimizes your code.