As we announced in this blog post, we are currently having our joint PyPy/HPy/GraalPy sprint in Düsseldorf.
On Thursday (September 22nd, 2022), we did the HPy sprint report. Most notably, we also had several CPython core developers in the call.
The sprint report was streamed on Twitch and the recording is available here:
Recently, the GraalVM Python team started a series of blog posts on Medium about HPy on GraalPy and about the migration of Matplotlib to HPy . The second blog post is in particular interesting since it not only describes the migration process but also shows performance numbers. The source code is also publicly available.
I'm happy to announce that we will finally have another PyPy/HPy/other sprint in Düsseldorf, Germany from September 19-23, 2022.
The sprint will be located at Heinrich Heine University Düsseldorf. Many thanks to Carl Friedrich for organizing this.
We will again follow an open format, i.e., everyone that is interesting in HPy, PyPy, or some related topic is welcome to join the sprint.
See also the announcement on the PyPy blog.
HPy 0.0.4 is out! The third official HPy release comes with many new features and was again made available on PyPI.
Major highlights of the release are a bunch of new API functions (e.g.
HPy_Contains, and more),
Python 3.10 support, better support for native fields (
HPyField) and global
HPyGlobal), new debug mode features (detect invalid raw data
pointer usage, detect invalid closing of argument handles, detect return of
HPy 0.0.3 is out! This is already HPy's second officially released version and was again made available on PyPI.
The major highlights of this release are new API functions, new debug mode features, and Windows support.
HPy 0.0.2 is out! This is the first version which is officially released and made available on PyPI.
The major highlight of this release is that it is supported by three different Python implementations: CPython, PyPy and GraalPython.
The core devs will no longer be present on the Freenode channel, so we recommend to join the new channel as soon as possible.
wikimedia.org has a nice guide on how to setup your client to migrate from Freenode to Libera.Chat.
The organizers of the summit will soon publish a full report about the event (edit: now available here), but for the HPy-specific part, we got generally good feedback. Someone has a few concerns that if CPython is to change the API, HPy might not be going far enough. Others said that Python shouldn't wait for the "perfect" API if HPy can be the "good" one that helps it evolve.
Everyone was open to have HPy-compatible wheels on PyPI, once the HPy Universal ABI stays relatively stable. Many people suggested that we should really write a PEP to propose HPy as a "semi-official" API for Python.
Welcome to the shiny new HPy blog!
HPy has been around for a while now. The initial discussion started during EuroPython 2019, in the good old times when we could still go to conferences and have real-life meetings. Since then, HPy progressed a lot from the point of view of the actual code, but we have been a bit too silent w.r.t. communicating what we are doing to the external world and to the broader Python community. Hopefully, now that this blog is online we will do a better job at periodically communicating the status of HPy, so make sure to subscribe to the RSS feed.