3 ms·
> Rather than calling out to a 3rd party library, could we just JIT the code required to call the external function? I am pretty sure this is the basis of the
by haberman 2y ago
> Rather than calling out to a 3rd party library, could we just JIT the code required to call the external function?
I am pretty sure this is the basis of the LuaJIT FFI: https://luajit.org/ext_ffi.html https://luajit.org/ext_ffi.html
I think LuaJIT's FFI is very fast for this reason.