When OP wrote "inline Cython" they didn't seem focused on numerics, they talked about "proper C speed", and they mentioned modifying the language. I don't think it's getting off-topic to suggest a deeper integration that lets the JIT be very intimate with the interpreter and truly inline things in a way that bypasses language-crossing and type-dispatching overhead. As long as you're in the hot path, let it look up object fields in a couple instructions.
[–] ajross 1 day ago
[–] strenholme 1 day ago
Lua5.1 is much more stable by the virtue that the only updates it code gets are very minor changes to fix any lingering security issues it has (the last Lua5.1 CVE is from 2014).
[1] I guess these days a LLM can do the grunt work of converting a Python2 script to Python3.
[2] There is a project which converts Lua in to native code: https://github.com/samyeyo/clx
[–] Dylan16807 1 day ago
Numba is great at its niche. But OP directly said Numba is "not really" what they were looking for because it's so narrow.
Isn't that basically what I said? Lua isn't "proper C speed", nor is PyPy, the cancelled Python JIT in question, nor even V8. That's a different problem area with different technologies. The fact that you like coding backend stuff in Lua or whatever isn't really saying much about whether numba is great.
But it is. Numba is great.