3 ms·
I found Lua <=> C interop very easy to use, I guess because Lua has been designed as an extension language for otherwise native projects (but it works just as w
by flohofwoe 6y ago
I found Lua <=> C interop very easy to use, I guess because Lua has been designed as an extension language for otherwise native projects (but it works just as well in the other direction, extending Lua projects with native code).
The same is most likely true for other "scripting languages" where the main purpose is to add a scripting API to otherwise native applications (like Wren: https://github.com/wren-lang/wren https://github.com/wren-lang/wren)
- laurencerowe 6y agoLuaJIT's FFI inspired the PyPy team's CFFI (which also works with CPython.) https://cffi.readthedocs.io https://cffi.readthedocs.io