Is lack of GC another reason that wasm is more performant than JS?
P.S. I assume JS has a GC and WASM does not.
P.S. I assume JS has a GC and WASM does not.
Note that pauses _can_ happen in non-GC languages too, if you have to delete something that references a bunch of other stuff that you have to recursively delete as well, though in the real world this is not very common.
WASM now has GC, since a goal is to support alternative scripting environments and e.g. run a mixture of Rust and Python code in the browser.