Talks: Inside CPython 3.11's new specializing, adaptive interpreter.

Friday - April 21st, 2023 11:30 a.m.-noon in 355DEF

Presented by:


Experience Level:

Advance experience

Description

Python 3.11 was released on October 24th, bringing with it a new "specializing, adaptive interpreter". As one of the engineers who works on this ambitious project, my goal is to introduce you to the fascinating way that your code now optimizes itself as it's running, and to explore the different techniques employed under-the-hood to make your programs 25% faster on average. Along the way, we'll also cover many of the challenges faced when optimizing dynamic programming languages, some of the tools you can use to observe the new interpreter in action, and what we're already doing to further improve performance in Python 3.12 and beyond.