Remix.run Logo
▲ Lvl999Noob 6 hours ago

Wasm comes with a garbage collector though, no? So a garbage collected language that offloads all memory management to the runtime would actually be better than one that ignored the platform and does its own stuff.

▲ 4 hours ago | parent | next [-]
[deleted]
▲zamalek 6 hours ago | parent | prev | next [-]

Apparently there were some design issues (raised and ignored) that made it unusable for many languages.

▲kg 2 hours ago | parent [-]

Ignored is a little unfair to the Wasm committee, the Wasm GC is constrained by what is possible to ship in existing Wasm runtimes and the stuff needed by many languages is way beyond what those existing runtimes have available to them.

I think it made sense for them to compromise, at least on the initial version of Wasm GC, to get it out the door. I say this as someone who wants the features that got left out, like interior references :)

▲Tadpole9181 5 hours ago | parent | prev [-]

The JVM alone has, what, 4 different modern GCs now? Garbage collectors aren't really universal, so they can pose different issues for different languages.

▲ 4 hours ago | parent [-]
[deleted]