gamesys / moonshine

A lightweight Lua VM for the browser
http://moonshinejs.org
MIT License
501 stars 35 forks source link

Support LuaSocket 2.0.x #11

Open vschiavoni opened 10 years ago

vschiavoni commented 10 years ago

It would be super-useful to support LuaSocket API. Internally, the calls could be translated to WebRTC or other natively-supported networking library.

paulcuth commented 10 years ago

That would be a really good idea. It shouldn't be built into the VM though, rather an add-on that can be passed into the VM when it's instantiated.

I'm currently working on adding JIT compiling to Moonshine, so I won't be able to look at this for a while. Meanwhile, if anyone else fancies a crack at it, I'd be happy to help all I can.