Get the latest tech news
HPy – A better C API for Python
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: ex
HPy is designed to overcome some of its limitations, be more consistent, produce better quality extensions and to make it harder to introduce bugs. We feel that the HPy ABI is stable enough now that we can fulfill our backwards and forwards binary compatibility promises with the upcoming release, and that the API now covers enough use cases to migrate important packages (in particular, checkout our numpy port). piconumpy: as the name suggests, this is a minimal numpy-like module which defines a custom type (similar to ndarray but with many fewer features of course).
Or read this on Hacker News