I intend to embed LuaJIT into a program of mine that uses PhysFS to load... well, stuff. Both assets and Lua scripts.
So I thought, why not pre-compile my Lua scripts?
luajit -b test.lua test.raw
I know that when using normal vanilla Lua, the lua_load() C function works fine just fine with both human-readable scripts and bytecode made with luac. But what about LuaJIT? Does the same apply to LuaJIT? Does lua_load() work with precompiled LuaJIT bytecode?
Quote from official site
More from same page