2 ms·
What restrictions are there that keep regular Lua from being able to run this?
by theseoafs 12y ago
What restrictions are there that keep regular Lua from being able to run this?
- plorkyeran 12y agoIt's built on the LuaJIT FFI, which regular Lua doesn't have. There's an implementation of the LuaJIT FFI's API for regular Lua (https://github.com/jmckaskill/luaffi https://github.com/jmckaskill/luaffi), but the performance is underwhelming.
- fit2rule 12y agoWhy use 'regular Lua'? Never forget that Lua doesn't have to be an operating-system-available install; the LuaVM lives in many, many other contexts than scriptability and execution-at-shell. Lua-based applications can be bundled into any .EXE, .app, .deb, .ipa package, as required .. and in this case, the place for it is in a very small, tight Linux VM node host, which can be spooled in the thousands at will/as needed. Opinion: As I personally have a strong interest in seeing Lua (and things like it) being used as the principle wrapping for next-gen OS's, stuff like this is terribly exciting. :)