News for hackers. Stuff that matters.
Re:Show HN: LuaJIT FFI binding to libuv with coroutines by theseoafs on Thursday August 28, 2014 @06:15PM (#8240033)
What restrictions are there that keep regular Lua from being able to run this?
Re:Show HN: LuaJIT FFI binding to libuv with coroutines by plorkyeran on Thursday August 28, 2014 @07:15PM (#8240259)
It'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), but the performance is underwhelming.
Re:Show HN: LuaJIT FFI binding to libuv with coroutines by fit2rule on Friday August 29, 2014 @04:57AM (#8241715)
Why 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. :)