4 ms·
Does browsers support wasm with dynamic linking?
by nextaccountic 3y ago
Does browsers support wasm with dynamic linking?
- kentonv 3y agoYes.
- nextaccountic 3y agoDo you happen to know where can I check out the cutoff version for each browser? https://caniuse.com/?search=wasm https://caniuse.com/?search=wasm doesn't have it (or other things like WasmGC for that matter)
- kentonv 3y agoI believe dynamic linking has been a core feature of WebAssembly from the beginning. You have always been able to load multiple Wasm modules in the same isolate and make them call each other. (But, language toolchains have to actually be designed to use this feature. Most aren't.)
- tomjakubowski 3y agoThe way Emscripten does it, IIRC, doesn't require any special browser support. The toolchain generates glue code in JavaScript to support calls between dynamically linked Wasm modules.