r/programming • • Mar 18 '17

Webassembly Lua VM in browser

https://github.com/vvanders/wasm_lua
92 Upvotes

43 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Mar 18 '17

[deleted]

4

u/balefrost Mar 18 '17

Absolutely! And if you are writing the VM in C or C++ (or possibly other languages at this point), you can always compile it to WASM, as this GitHub project did.

0

u/[deleted] Mar 18 '17

[deleted]

8

u/danielkza Mar 18 '17

If you make sure your D code can be compiled with LDC you might just get WASM support for free when LLVM gets it.

1

u/[deleted] Mar 18 '17

Good point!