How python-build-standalone gets its speed: Clang, PGO/LTO, BOLT, static linking

charliermarsh · x · 2026-09-11

charliermarsh explains the speed deltas come from the build pipeline: python-build-standalone builds with modern Clang (enabling the tail-calling interpreter), runs PGO and LTO, applies BOLT, and statically links libpython into the executable.

Related event: Astral Benchmarks python-build-standalone as Fastest CPython Distribution(4 posts)→

Original post →

More from coding & agent

coding & agent channel →