Re:Musings on Tracing in PyPy
by cfbolztereick on Saturday January 11, 2025 @03:01AM
(#42664192)
The equivalent of this (and strongly inspired by luajit's ffi) in the python world is cffi, btw: https://cffi.readthedocs.io/en/stable/
[ Parent
| on HN ]
Oh, 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.
Re:Musings on Tracing in PyPy
by cfbolztereick on Monday January 13, 2025 @09:14AM
(#42683601)
It 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.