PyPy hands-on
summary
PyPy is an RPython-based interpreter plus a tracing JIT framework that turns hot loops into machine code; benchmarks show PyPy beating CPython by factors up to 10x–100x on some cases and coming within 2–5x of optimized C for simple numeric loops. Demonstrations run a Fibonacci HTML generator that breaks on PyPy due to reliance on CPython reference counting, show how to enable JIT diagnostics via PYPYLOG and inspect the loop IR and generated code in the GViewer, and explain guards, unboxed machine-level integers, and cross-platform backends.
AI-written summary · about
chapters (5)
related talks
22mPyPy and the future of the Python ecosystem
57mPython and PyPy performance (not) for dummies
42mThe state of PyPy
39mCPython, Grumpy, PyPy - When, How, Why
17mInside a PyPy JIT: is that even legal?
48mPython Performance: Past, Present and Future
58mPython performance Past, Present, Future
33mWhy is Python slow?
