Hacker News new | ask | show | jobs
by kayamon 3874 days ago
The FFI does not make LuaJIT unsafe. If you want safe code, you simply run the code in a sandboxed environment which does not include the FFI library.

> you can't easily load lua files in LuaJit

Yes you can, it has the same scripting interface as stock Lua.