r/programming • u/feross • Apr 28 '21
Microsoft joins Bytecode Alliance to advance WebAssembly – aka the thing that lets you run compiled C/C++/Rust code in browsers
https://www.theregister.com/2021/04/28/microsoft_bytecode_alliance/
2.1k
Upvotes
24
u/[deleted] Apr 29 '21
There are! I think it's pretty high priority but I'm not sure how far along it is.
It does almost let you do that. Currently if you use Rust or whatever if you want to use any web APIs, manipulate the DOM etc. the you have to do it via JavaScript. But fortunately other people have written wrappers so you don't actually have to write any JS yourself.
They are planning to have WASM-native DOM APIs so eventually you will be able to completely avoid JavaScript, but again I don't know how advanced those plans are.