4 ms·
I believe I once managed to make Toit run in web-assembly. I know for sure that the compiler compiled to it, but I'm pretty sure I also had a "hello world" tha
by floitsch 5y ago
I believe I once managed to make Toit run in web-assembly.
I know for sure that the compiler compiled to it, but I'm pretty sure I also had a "hello world" that worked.
I would need to find that branch and see if it still merges cleanly.
- syrusakbary 5y agoThat would be great, thanks! I think if Toit can jump into the Wasm train it could help the language even further (executing cleanly programs in the browser as well!)
- pansa2 5y agoYou were able to compile Toit code direct to WASM? I guess that required using static types throughout? Or did you compile the VM to WASM instead, and interpret the Toit code as normal?
- floitsch 5y agoI compiled the VM to WASM and ran the bytecode in it.