3 ms·
The equivalent of this (and strongly inspired by luajit's ffi) in the python world is cffi, btw: https://cffi.readthedocs.io/en/stable/ https://cffi.readthedocs
by cfbolztereick 2y ago
The equivalent of this (and strongly inspired by luajit's ffi) in the python world is cffi, btw: https://cffi.readthedocs.io/en/stable/ https://cffi.readthedocs.io/en/stable/
- kragen 2y agoOh, thanks! That's a second thing in this thread I'm embarrassed to have not known already. Does it get native-like performance in PyPy the way LuaJIT's FFI does? I'll have to try it with Yeso to see if it's an improvement.
- cfbolztereick 2y agoIt should get pretty good performance yes. Not sure how native like we get with the jit. Gut feeling would be a bit slower than gcc -O0? I would be very interested in your experience if you do try it.
- kragen 2y agoThanks! I guess now I've assumed the obligation. Probably I should look for you on Mastodon in order to tell you about my experience?