Hacker News new | past | comments | ask | show | jobs | submit login

> Depends on how you look at it. WASM itself doesn't have any browser specific features (and on purpose), it's a universal bytecode VM designed with strict sandboxing in mind.

I know, but other than being able to run it in the browser, does WASM have any other benefits over compiling into C, LLVM, etc?




Firefox has C/C++ libraries compiled into WASM which is then compiled into native code. The end result is that the library is sandboxed into its own memory region.

https://hacks.mozilla.org/2020/02/securing-firefox-with-weba...


Mainly security related guarantees, plus it can run effectively anywhere with the same guarantees in all those environments




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: