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

It's not that we need a VM in the browser, but we just need a VM that's sandboxed in terms of security.

Other than JavaScript, what other way can you send arbitrary code to a device and expect it to run there? WASM is the only other option.



Don't buy it. A sandbox is a sandbox. Yes, javascript runs in a sandbox, but other technologies exist beyond javascript-in-a-sandbox.

This is just really inefficient: VM in WASM in javascript in a sandbox in a browser, is insane and will forever be slow due to complexity.

Fun for the lulz, but for the planet's sake I hope this doesn't get adopted.


Wasm is not implemented "in JavaScript", rather JS engines reuse important parts of their compilation pipeline to generate good code for Wasm.




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

Search: