Overview
Explore the HPy project, a revolutionary approach to creating native extensions for Python, in this 33-minute conference talk from EuroPython 2023. Discover how HPy addresses the challenges of updating Python versions and dependencies by providing a superior C extension API. Learn about HPy's ability to produce binaries compatible across multiple Python implementations, including CPython, PyPy, and GraalPy. Examine the successful porting of NumPy to HPy, demonstrating its effectiveness with over 30,000 lines of code adapted. Gain insights into the performance characteristics of HPy-ported extensions across different Python implementations and understand how this technology ensures future compatibility with upcoming Python versions.
Syllabus
HPy: The Future of Python Native Extensions — Štěpán Šindelář, Florian Angerer
Taught by
EuroPython Conference