4 ms·
Another interesting combination would be: https://github.com/justincormack/ljsyscall https://github.com/justincormack/ljsyscall this would work with LuaJIT: h
by ay 15y ago
Another interesting combination would be:
https://github.com/justincormack/ljsyscall https://github.com/justincormack/ljsyscall
this would work with LuaJIT: http://luajit.org/ http://luajit.org/
The FFI in LuaJIT is kind of brilliant. Check yourself.
EDIT: with FFI in LuaJIT you can jump very comfortably between the high-level Lua code and low-level native calls. It's almost addictive. And the code is running X times faster than the Lua baseline (X between single-digit and triple-digit values).
- malkia 15y agoI've made LuaJIT FFI bindings to some "C" precompiled libraries for these platforms: OSX, iOS, Windows, Linux (x86+arm) There libraries are: GLFW, SDL, ZeroMQ, AntTweakBar, and planning on few more. There is also OpenCL and OpenGL and glu. Please visit: http://github.com/malkia/ufo http://github.com/malkia/ufo You should not need to recompile, as I've packaged the binaries.