by flohofwoe · 5mo ago · 0 comments
The only advantage you'll get is slightly faster string marshalling, which admittedly is important for DOM access, since the DOM is an extremely string heavy API.
Eliminating the glue layer completely would only be possible if the browser offers a separate 'WASM API' for each web API, but this is very unlikely to happen.
[1]: https://hacks.mozilla.org/2026/02/making-webassembly-a-first...