This is the website for an older EuroPython. Looking for the latest EuroPython? Click here!
Skip to main content

How we are making CPython faster. Past, present and future

Level:
intermediate
Room:
pycharm (forum hall)
Start:
Duration:
30 minutes

Abstract

Python 3.11 is considerably faster than 3.10. How did we do that? And how are we going to make 3.12 and following releases even faster?

In this talk, I will present a high level overview of the approach we are taking to speeding up CPython. Starting with a simple overview of some basic principles, I will show how we can apply those to streamline and speedup CPython. I will try to avoid computer science and software engineering terminology, in favor of diagrams, a few simple examples, and some high-school math. Finally, I make some estimates about how much faster the next few releases of CPython will be, and how much faster Python could go.

TalkPython Internals & Ecosystem

The speaker

Mark Shannon

Mark Shannon

Mark has been using Python since 2005, and has been contributing to CPython since 2010. After a long interlude working on static analysis tools, he has returned to working on speeding up Python over the last couple of years. His academic and commercial work is focused on compilers, virtual machines and static analysis for Python. His PhD was on building virtual machines for dynamic languages. He is the author of various PEPs including 412, 590, 626 and 659. Mark is currently working for Microsoft as the technical lead of the "Faster CPython" team.


← Back to schedule