All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Python 3.15's Tail-Calling Interpreter Shows 15% Performance Gain on Windows x86-64

By

lumpa

5mo ago· 10 min readenInsight

Summary

The article discusses performance improvements in Python 3.15's interpreter, specifically highlighting that the tail-calling interpreter shows significant speed gains over the computed goto interpreter on certain platforms. The author partially retracts a previous apology about performance results, noting that on macOS AArch64 (XCode Clang) the tail-calling interpreter is 5% faster, and on Windows x86-64 (MSVC) it's approximately 15% faster based on pyperformance benchmarks.

Key quotes

· 3 pulled
I can proudly say today that I am partially retracting that apology, but only for two platforms—macOS AArch64 (XCode Clang) and Windows x86-64 (MSVC).
In our own experiments, the tail calling interpreter for CPython was found to beat the computed goto interpreter by 5% on pyperformance on AArch64 macOS using XCode Clang, and roughly 15% on pyperformance on Windows x86-64 (MSVC).
Some time ago I posted an apology piece for Python’s tail calling results. I apologized for communicating performance results without noticing a compiler bug had occured.
Snippet from the RSS feed
Python 3.15’s interpreter for Windows x86-64 should hopefully be 15% faster

You might also wanna read