PyCon Redux
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Adaptive Interpreter

Brandt Bucher just before beginning the talk
Brandt Bucher just before beginning the talk

This talk by Brandt Bucher gives a behind the scenes look on CPython 3.11’s new specializing, adaptive interpreter. It also talks about further improvements from 3.12, please see PEP 659 for more information on this.

  • Specializing: interpreter specializes based on types or values
  • Adaptive: interpreter adapts when types or values change

Brandt also made a tool specialist to visualize where the interpreter’s optimization is succeeding or failing.