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

That wouldn't work, because WASM can't (directly, you need some JS bridge) interact with the DOM. Btw. you can transpile many languages to JS.

Webassembly is the same as being able to call C libs (which don't have to be written in C) from Python. It's there to speed up bottlenecks.



Wouldn't it make more sense to design browsers where a WASM runtime interacts with the DOM (and architecturally make it look more like a device driver)? And you could just compile JS to WASM on demand (and possibly keep a cache).




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

Search: