3 ms·
Is this DOM/UI-less ? Everything I've read on WASM so far has indicated that it would be (initially) similar to web workers and not give access to the DOM.
by TimJYoung 11y ago
Is this DOM/UI-less ? Everything I've read on WASM so far has indicated that it would be (initially) similar to web workers and not give access to the DOM.
- greggman 11y agoYou can think of wasm as pure assembly language functions you can call. They can't interact directly with any browser APIs but they can be called from JavaScript and they can call into JavaScript Not as isolated as workers
- TimJYoung 11y agoThanks. WASM is going to be very interesting, and I will be modifying our compiler/transpiler to support it as soon as the DOM access is available.
- singularity2001 11y agoPeople realized the importance of access to the DOM and made it one of the first things to implement after the minimum viable product https://github.com/WebAssembly/design/blob/87bf5b62988eb500583b61b04803264e6c796264/GC.md https://github.com/WebAssembly/design/blob/87bf5b62988eb5005...
- TimJYoung 11y agoThanks very much for the link.