3 ms·
I've started bindings for certain LuaJIT FFI libs, and have put some small samples - but pretty much unorganized. http://github.com/malkia/ufo http://github.co
by malkia 15y ago
I've started bindings for certain LuaJIT FFI libs, and have put some small samples - but pretty much unorganized.
http://github.com/malkia/ufo http://github.com/malkia/ufo
Just try this one, it shows some raw speed of luajit:
./luajit samples/intro.lua
Should work on Windows, OSX, Linux (x86 and arm (EfikaMX))
As long as things are kept in lua much of the time, and rarely call "C" for the better. And if "C" is to be called, it better be called through the FFI - pure awesomeness...