Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Every 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: