How we are making CPython faster. Past, present and future
07-19, 10:45–11:15 (Europe/Prague), PyCharm (Forum Hall)

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.

Expected audience expertise


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.

This speaker also appears in: