we still need js shim for dom access :(
The really big issue in this case is network effect, which is why I hope something can come out from the momentum building behind WASM.
The DOM API is currently defined as a JS API, including JS strings, JS objects + properties, JS Exceptions, JS Promises, JS garbage collection, and on and on and on.
The effort to get all the browsers to agree to standardize a new JS-less DOM API would take years; none of the browser vendors even want to begin that conversation today.
https://hacks.mozilla.org/2026/02/making-webassembly-a-first...