Hacker News new | ask | show | jobs
by k__ 3035 days ago
Are GC implementations transparent for the languages?

Can Go simply run with the WASM GC or does it need some specific type of GC?

2 comments

"the WASM GC" only exists as a proposal, and proposals can change before they land. I don't know enough about it to say, and even if I did, it might be invalid by the time things are actually accepted.

See https://github.com/WebAssembly/gc for the current proposal.

Sure.

But one day, when there are implementations, can every language run with the WASM GC?

No if you care about performance.

To go the extra mile in GC performance, the compiler and GC implementation have to collaborate, taking advantage of language specific features.