Right now it you call into JS to interact with the DOM but when the host bindings proposal sees fruit it’ll replace the JS shims with direct DOM manipulation!
Whatever DOM manipulation there may be in the future, I hope there'll be no tight coupling with DOM, GC or anything else.
If tight coupling can be avoided, WebAssembly could become lingua franca of binary formats also outside web.
For things like architecture agnostic plugins, extensions and high performance light weight "scripting" support.
Hopefully it'll stay that way.
Dependencies on DOM or Javascript would be devastating for WebAssembly use outside web browsers.
1: Okay so, what I really mean is, "I spend a lot of time talking to people working on WebAssembly and they've all expressed that to me but of course I hvaen't talked to literally every single last person".
From my brief research https://github.com/WebAssembly/host-bindings is the repository to watch for progress.
> WebAssembly got a new baseline compiler for much faster startup of complex websites with big WebAssembly modules (such as Google Earth and AutoCAD). Depending on the hardware we are seeing speedups of more than 10×. Stay tuned for more details in a separate blog post.