4 ms·
I'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 Javascrip
by sspiff 9y ago
I'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.