News for hackers. Stuff that matters.
Re:Moonshine – A lightweight Lua VM for the browser by Twisol on Tuesday April 01, 2014 @05:36PM (#7511895)
This would be even more amazing if there was no dependency on `luac` to compile to Lua bytecode. I'm developing a web application with user-scriptable features, and I'd love to use Lua (to provide a better user experience for my non-webdev audience), but the dependency on a server-side compilation step is a problem for my use-cases.
Re:Moonshine – A lightweight Lua VM for the browser by paulcuth on Tuesday April 01, 2014 @07:15PM (#7512447)
There is a Moonshine extension[1] that uses Yueliang[2] to compile offline in the browser, but it's quite slow. I'm hoping to speed it up a bit in the near future, with the futures I'm working on now.

[1] https://github.com/gamesys/moonshine/tree/master/extensions/... [2] http://yueliang.luaforge.net/

Re:Moonshine – A lightweight Lua VM for the browser by fit2rule on Wednesday April 02, 2014 @04:34PM (#7518804)
Use luac locally to compile the bytecode, then include it in your deployment to the server somewhere?
Re:Moonshine – A lightweight Lua VM for the browser by Twisol on Wednesday April 02, 2014 @11:01PM (#7520668)
The app front-end has user-scriptable features - I should have been more specific. My app has no back-end, and it is unacceptable to set up a back-end for the sole purpose of running luac on user scripts.