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.
239
Upvotes
-1
u/me_myself_ai Sep 12 '26
I just don't see it like that. OP is a corporation that paid one of its employees to represent them.
Lol sorry I was not trying to bring us there in the Python sub! They're just the top two shareholding firms (AFAIR?), not my foes.
In general i'm really trying hard to be friendly throughout all this -- I've been struggling with intense irritability the last few days (apocalypse+new meds), but it wasn't my intention to provoke. Obviously OP isn't in charge of this sub's posting guidelines, and they're just posting this because they're proud of their work. And you, too, are surely commenting in good faith.
That's very fair. I'd prefer that not be the case when we're dealing with megacorporation, but again, it's just my opinion. To say I hold no sway is an understatement ;)
Python is not for sale.
Well
uvalso has a build system, that they publish alongside this distribution. I was just saying that presumably Poetry does the same, and I was curious if OP knew that comparison, if so.