18 Mar
2021
18 Mar
'21
10:36 a.m.
On Wed, Mar 17, 2021 at 8:27 PM M.-A. Lemburg <mal@egenix.com> wrote:
Even with tools like Cython you still need the C API.
Agreed, although a layer of indirection can be helpful when making changes. For example, for HPy we are hoping to write an HPy backend for Cython at some point which generates C code that uses the HPy API instead of the existing C API. That is decidedly non-zero work, but will potentially port a large chunk of the C extension ecosystem in one go (with a fair bit of mopping up required, I'm sure).