Overview
Dive into the inner workings of PyPy's Just-In-Time (JIT) compiler in this comprehensive EuroPython 2012 conference talk. Explore the fundamentals of PyPy, compilers, and tracing JIT phases through detailed explanations and examples. Learn about trace trees, general architecture, and the PyPy optimizer, including intbound optimization, virtuals, constant folding, and out of line guards. Gain valuable insights into the assumptions and techniques used in PyPy's JIT implementation, enhancing your understanding of this powerful Python interpreter.
Syllabus
Introduzione
Part 0: What is PyPy?
Compilers
Assumptions
Tracing JIT phases
Tracing example (3)
Trace trees (2)
General architecture
PyPy trace example
PyPy optimizer
Intbound optimization (1)
Intbound optimization (2)
Virtuals (2)
Constant folding (2)
Out of line guards (2)
Conclusion
Taught by
EuroPython Conference