-
Reference counting (incref/decref) is replaced by what HPy calls *handles*, and Mark's proposal [Opaque, linear references](https://github.com/markshannon/New-C-API-for-Python/blob/main/DesignRules.md…
-
There is the HPy alternative C API work. https://hpyproject.org/
Which is past the proof of concept stage with small packages, and is entering the phase where larger modules have been ported. numpy…
-
How's this looking so far?
## Few Suggestions
### Remove the header "HPy - A better C API for Python" and turn it into a "hero" section to something similar to this: "The React Framework for t…
-
We need to pick some APIs to provide for calling Python functions from HPy.
The existing C API has a large zoo of methods for making functions calls. The zoo is documented at https://docs.python.o…
-
[Bindgen](https://rust-lang.github.io/rust-bindgen/introduction.html) can already generate rust bindings automatically for us. Here's the [output](https://gist.github.com/thedrow/b754ef37ed015135e2018…
-
(This came up from a short discussion with Steve Dower at EuroPython)
One of the things suggested in https://github.com/hpyproject/hpy/issues/421 is to upstream HPy support to CPython. Note that th…
-
Other Python implementations have to provide a compatible C API, as complete and compatible as possible. The problem is that the C API leaks many implementation details like memory layout (structures …
-
Currently HPy just copies `HPyType_Spec` flags to `PyType_Spec`:
```
// ctx_type.c: (simplified)
spec->flags = hpyspec->flags;
```
and the user is expected to use at least `HPy_TPFLAGS_DEFAULT` i…
-
In https://github.com/hpyproject/hpy/issues/263, @steve-s discovered that the line `HPyErr_SetString(ctx, ctx->h_IndexError, "index out of range");` leads to a performance issue for code looping over …
-
As described below, the current HPy/setuptools integration is a mess and
could/should be vastly improved. And in general, we should try to engage more
with the broader setuptools/pypa/packaging comm…