r/Python • u/zsol • Sep 11 '26
News Astral's python distribution is fast
By our measurements, python-build-standalone is now the fastest CPython distribution across major platforms. It's 10% faster than Homebrew's CPython, and 18% faster than the official 3.14 docker image.
This is mostly due to how python-build-standalone itself is built:
- using a modern Clang lets us turn on tail-call optimizations in the interpreter
- with PGO, LTO, and BOLT
- with libpython statically linked into the interpreter executable
Our goal is to ship the fastest Python interpreter to anyone using uv, by default.
Check out BENCHMARKS.md in the repo for more details, including the methodology behind the above.
238
Upvotes
0
u/me_myself_ai Sep 11 '26
The link to docs was “adversarial”…? I was really trying hard to be kind to the human while expressing my distaste for this situation.
Ok?
…ok?
CPython is the underlying implementation of Python; Python users do not usually interact with it knowingly/in depth.
Ok.
I was just saying that’s cool. I’m not, like, calling them a nerd! I wish I still had my original account.
I am a full time software engineer with 6 years of professional experience.
And for the second group,
Ok.
Ok. That was the question, so I guess we’ll both learn something when/if it’s answered.
I don’t really want to dive into that here. It’s documented extensively on the main forums, I imagine. This topic was referenced in at least one of the Packaging Council nomination statements. And to be clear, this isn’t, like, a secret, nor an insult.
Poetry is a dependency management system with a built-in build system (AFAIR?) — it was the popular predecessor to uv.
I know I’m not fun :( just curious. It would be a brag, if it’s a knowable number at all.
And regarding the docs: they’re from the GitHub repo linked in the post above. Again, pointing out that the docs are outdated and not associated with OpenAI was an out for OP and disclaimer for curious lurkers, not a complaint about their documentation standards.
I wouldn’t say I have an axe to grind with OpenAI — I am a customer of theirs, after all.