4 ms·
Nice guide. I did this over the holidays just to see it in action. It was a pain to get the emscripten sdk installed (especially on a slow connection) but it'
by tps5 10y ago
Nice guide.
I did this over the holidays just to see it in action. It was a pain to get the emscripten sdk installed (especially on a slow connection) but it's quite cool to see it in action.
There's also a asm.js target which you can add like this:
$ rustup target add asmjs-unknown-emscripten
I'm not sure about browser support for asm.js but recent versions of node support it.
- marcoperaza 10y agoEvery browser supports asm.js, since it's just a subset of standard JS. Some browsers do optimize it, though. https://en.wikipedia.org/wiki/Asm.js#Implementations https://en.wikipedia.org/wiki/Asm.js#Implementations