News for hackers. Stuff that matters.
Re:WebAssembly by jillesvangurp on Saturday February 27, 2021 @10:57PM (#26290550)
Garbage collection support is coming; https://bugs.chromium.org/p/v8/issues/detail?id=7748

They've been working on adding that for a while in the standard. But it's a complex topic, which is why it is taking time. You can of course bundle your own garbage collector and statically compile it into wasm. That's why Go, C#, etc. can target WASM.

Jetbrains is actually working on a compiler backend for wasm in their new IR compiler for Kotlin. Apparently they are planning to not bundle their own GC and will try to rely on the WASM gc when that is ready. I'm not sure how close they are to having a usable release. But I expect early betas might start happening late this year or next year.

There are no comments on this comment yet.