Re:The State of WebAssembly 2022
by tormeh on Monday June 20, 2022 @02:13PM
(#31813629)
I wish I could somehow ship a website as a single wasm file. Currently there's quite a bit of HTML/JS ceremony involved in order to execute a wasm file, but I'd rather be able to serve up an "index.wasm" and be done with it. Is there any movement towards this?
[ Parent
| on HN ]
The ceremony is a one time thing, and the boilerplate is a copy and paste away. You can pretty easily ship an entire application as an self contained html file.
I was thinking to fork a browser engine, and bind wasm directly to the DOM without any JS. Anyone interested in teaming up on this?
Re:The State of WebAssembly 2022
by singularity2001 on Monday June 20, 2022 @03:05PM
(#31814281)
yes, <src module="main.wasm"/> is under consideration. Maybe you need a tiny wasm_dom.js but direct DOM manipulation is in the pipeline too.