Explore the inner workings of PyPy, a fast and compliant Python implementation, in this 46-minute EuroPython Conference talk. Delve into the mechanics of PyPy's meta-tracing just-in-time (JIT) compiler, which optimizes Python code execution. Learn how PyPy achieves compatibility with CPython, supports scientific libraries, and implements its JIT compiler using Python itself. Gain insights into tracing JIT optimization techniques, loop recording, and the meta-tracing approach. Discover how to leverage PyPy's capabilities to enhance the performance of pure Python code. No prior knowledge of compiler theory or PyPy internals is required to benefit from this comprehensive exploration of PyPy's "magic black box."
Overview
Syllabus
Introduction
Python support
C extensions
Toolchain
Jade
Inplace
Tracing Jet
Cheat Code
Gods
VMprov
Optimizations
unrolling
backend
conclusion
help desk
Taught by
EuroPython Conference