2 ms·
>you don't really need any (almost any?) intermediate JS anymore I don't think that's true. You still need JS glue code that would return these externrefs. A W
by nullifidian 3y ago
>you don't really need any (almost any?) intermediate JS anymore
I don't think that's true. You still need JS glue code that would return these externrefs. A WebAssembly module loaded through ESM integration can't as far as the current proposals access Web-APIs on its own. As far as I understand there is also a number performance issues related to the wasm spec itself that limit possible optimizations, making wasm second class to JS in terms of performance of WebAPI access.