top | item 45280225

(no title)

phickey | 5 months ago

Aside from code size the primary benefit on the Web is that the GC provided to wasm is the same one for the outer JavaScript engine, so an object from wasm can stay alive get collected based on whether JS keeps references to it. So it’s not really about providing a GC for a single wasm module (program), its about participating in one cooperatively with other programs.

discuss

order

em-bee|5 months ago

now that would make a lot of sense, thanks