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

Definitely it is, and it does open doors for this, I'm just curious if running say, a JavaScript or Python interpreter on top of WASM would be more performant than V8, given that there could be two layers of VMs, ie the WASM VM and the JS/Python VM running on it.

I'd hope that they'd be comparable in performance, especially when it comes to doing client-side web app things in languages other than JavaScript.



Currently JIT in wasm is incomplete. That is a wasm program cannot modify itself (it would need to create new modules and ask the host to load them with a shared memory)

So compiling JS to wasm would probably be limited to the performance of interpreting JS on native


That wouldn’t work out. The C Python interpreter is slower than v8. A WASM Python interpreter would be at most as fast as the native C implementation




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

Search: