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

But is this how it is implemented by actual browsers? if memory serves v8 is pretty much reusing most of JS VM for WASM?



Yes, the browsers do share parts of their JavaScript execution engine with WASM. Which makes sense because WASM still needs to interact with JS. That doesn't mean it can't be fast or start quickly (or at least quicker than asm.js).

From the developer's point of view that doesn't matter. You're delivering WASM and not C or JS code over to the clients.


WASM requires a much simpler VM than JS. It doesn't take most of a JS VM.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: