Python and PyPy Performance - Not for Dummies
Explore Python and PyPy performance optimization in this comprehensive 57-minute EuroPython Conference talk. Gain insights into Python program compilation and execution, with a focus on PyPy's just-in-time compilation. Learn about the range of performance improvements achievable with PyPy, from slight enhancements over CPython to C-like speeds. Discover how to write and optimize code for PyPy, understand JIT compiler heuristics, and utilize performance analysis tools. Delve into topics such as premature optimization, specialization, tradeoffs, and PyPy-friendly coding practices. Examine compatibility layers, Windows support, garbage collection, and PyPy extensions. Acquire the knowledge to make informed decisions about replacing CPython with PyPy and optimizing Python code for maximum performance.