3 ms·
Wasm can't directly, but it can call into JavaScript, which can. That's what this does. DOM support for wasm really means native DOM support, which removes tha
by steveklabnik 9y ago
Wasm can't directly, but it can call into JavaScript, which can. That's what this does.
DOM support for wasm really means native DOM support, which removes that layer of indirection, and therefore will make it faster.
- mlevental 9y agoi was going to ask if DOM support is on the road map and this comment https://news.ycombinator.com/item?id=13614886 https://news.ycombinator.com/item?id=13614886 claims it is but it's no longer in the high level goals in the spec link is dead... so do you know if it is?
- lj3 9y agoI don't know where it is on the current roadmap, but there's some activity here: https://github.com/WebAssembly/host-bindings/ https://github.com/WebAssembly/host-bindings/
- mlevental 9y agoweird i tried to post a thumbs up and hn deletes it. is it because it's a single rune? no it doesn't appear in this reply either.
- ComputerGuru 9y agoAside from the fact that a single thumbs up doesn’t qualify as a comment by HN standards, select Unicode characters are whitelisted but the rest are sanitized.
- steveklabnik 9y agoThings have been changing, people thought that the DOM stuff would need the GC stuff, but the new "host bindings" proposal my sibling linked to would give DOM stuff without the GC stuff. Everyone I talk to suggests that it will be sometime next year.