What is HPy?¶ HPy provides a new API for extending Python in C. In other words, you use #include <hpy.h> instead of #include <Python.h>. What are the advantages of HPy?¶ Zero overhead on CPython: extensions written in HPy run at the same speed as "normal" extensions. Much faster on alternative implementations such as PyPy, GraalPy. Universal binaries: extensions built for the HPy Universal ABI can
{{#tags}}- {{label}}
{{/tags}}