4 ms·
Plus first class DOM support for wasm is coming at some point in the future, so I'd imagine any properly supported library could implement it once it is finaliz
by 013a 9y ago
Plus first class DOM support for wasm is coming at some point in the future, so I'd imagine any properly supported library could implement it once it is finalized.
- sspiff 9y agoI'm not sure I want this. I use WASM as a compilation target, but I rally enjoy the simplicity of the platform and how all connections from and to the Javascript world have to be explicit. Allowing more transparent access to the DOM would diminish this highly defined interface.
- jakevn 9y agoThe DOM is unrelated to Javascript.
- sspiff 9y agoSure, but it's still part of the outside world, so it's still opening a lot of extra interface surface to the platform.
- steveklabnik 9y agoWasm is specified in two layers; wasm itself and then the api the host provides. All of the "external surface" stuff is in the host, not in wasm itself, so wasm for another host doesn't get larger.