logoalt Hacker News

gf000last Friday at 9:27 AM1 replyview on HN

That is, if the source language's GC model is compatible with Wasm's.


Replies

WorldMakerlast Friday at 5:11 PM

WASM's current GC model is mostly about sharing large byte buffers. It's on about the order of OS-level memory page management. Mostly it is getting used to share memory surfaces to JSON serialization/deserialization without copying that memory across the WASM to JS boundary anymore.

It will be a while before WASM GC will look close to any language's GC.