WebAssembly Workship @ ICFP/SPLASH 2025 https://conf.researchr.org/home/icfp-splash-2025/webassembly-ws-2025#program
There are proposals to extend WebAssembly (Wasm) for assisting implementations of high-level languages. The prominent ones are WebAssembly Garbage Collection (WasmGC) and the Wasm Component Model, which provides a garbage collection feature and language interoperability, respectively. This presentation reports the first serious compiler implementation that exploits both WasmGC and the Wasm Component Model. We implemented a Scala to Wasm compiler and evaluated its performance. Compared to the compilers targeting JavaScript and JVM, our compiler generates code that peforms up to 3.4 times faster and 3.5 times slower, respectively. Foreign function calls are, compared to the Rust-to-Wasm compiler, slower by more than a factor of 4 due to memory copy overhead.