Re:Bringing the web up to speed with WebAssembly
by Zelizz on Friday September 22, 2017 @02:23PM
(#15314495)
Oh man, with Lua in the browser, I'd actually start to write web stuff again. And we could get a really nice fast port of Love2D running!
Re:Bringing the web up to speed with WebAssembly
by vvanders on Friday September 22, 2017 @03:32PM
(#15315049)
Yeah, probably wouldn't be too hard. I've got Lua things drawing to an HTML5 canvas that runs at 60 FPS on a private project.
As long as you don't make 1000's of calls per frame it runs pretty well.
But yeah, interop is something that you can't just hand-wave away. It needs to be done carefully and with the right semantics and performance. That said I think we well get there and for a certain limited use cases it's already there.
[1] https://github.com/vvanders/wasm_lua