Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement a new tail-calling interpreter for CPython in this 27-minute conference talk from EuroPython 2025. Explore the technical details behind building an alternative interpreter architecture that moves beyond traditional switch-case and computed goto approaches. Discover how tail call optimization can be applied to Python's interpreter design and examine preliminary benchmark results showing up to 7% performance improvements on Python-heavy programs. Understand the implementation challenges and benefits of this new interpreter type, including enhanced external debugging capabilities. Gain insights into the development process of interpreter technology that is already integrated into Python 3.14, presented by a core Python developer working on CPython's performance optimization.
Syllabus
Building a new tail-calling interpreter for Python — Ken Jin
Taught by
EuroPython Conference