tubeshowcase●1,678,556 videos♡ My collection 0
← Learn to Code

Learn to Code29:03

What they don't tell you about building a JIT compiler for CPython - Brandt Bucher

PyCon US ↗

From the creator

Despite their reputation, just-in-time compilers are not magic “go faster” machines. Developing and maintaining any sort of optimizing compiler for even a single platform, let alone all of Python’s most popular supported platforms, is an incredibly complicated, expensive task. However, figuring out how to compile Python code down to machine code is just the beginning. Most talks and other resources about JITs offer an interesting introduction to the general approaches used, but gloss over the most interesting technical issues that need to be solved in order to actually "ship" these performance gains in practice. As one of the engineers working on Microsoft's ambitious "Faster CPython" project, I'll introduce some of the challenges that we've encountered over the past year in our quest to make your code faster. Along the way, we'll learn how JITs decide what code to compile, how they compile this code in-process in a safe and secure way, and the debugging and profiling requirements that users have come to expect from native code.

Published 2025-05-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code