4 ms·
I think many (most?) CPython extensions using the pure C API could be profitably re-done as Cython modules. I once almost did this for NumPy when Python3 compa
by cb321 3y ago
I think many (most?) CPython extensions using the pure C API could be profitably re-done as Cython modules. I once almost did this for NumPy when Python3 compatibility was too slow in coming. I think a PyPyJIT-CythonAOT system would be a potent tonic against Python slowness { personally I prefer just going all the way to Nim, though that often entails small ecosystem/adoption-entailed work }. I also suspect there is prior art on this in the Common Lisp (a compiled, gradually typed system) world, possibly as interop between Lisp systems.