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

Doesn't WASM even use native machine hardware and video cards?

So like the gap is closing between a binary and a browser.



WASM is run in a "brain in a jar" type execution model, with basically zero knowledge or access to its external environment (the "host"). So it could absolutely take advantage of these kinds of peripherals, but the host enviornment would provide import functions that enable it to interact with resources like a video card.

The gap is definitely closing as you say, and WebAssembly provides a path for it, as well as a security model that doesn't put users at risk.


Uses it, but with more abstraction / less directly than machine code would.




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

Search: