Re:Missing the Point of WebAssembly
by davexunit on Tuesday January 09, 2024 @04:36PM
(#38932449)
Wasm allows for importing host functions. Those host functions could provide DOM access. With Wasm GC it is possible to pass external references (DOM nodes, promises, etc.) to and from Wasm. What this looks like in practice is that a thin JS bootstrap script instantiates the Wasm module, passing along a set of JS functions that map to the declared Wasm imports and then the program is effectively driven from Wasm at that point.
[ Parent
| on HN ]
There are no comments on this comment yet.