Hacker News new | ask | show | jobs
by remexre 1714 days ago
Can I ask what kind of languages you're thinking of compiling? I was pretty excited about WASM too, until I realized it was bring-your-own-GC (which makes sense in retrospect I suppose), and libgc's WASM support had heavily atrophied last time I tried it (last year), such that it was freeing memory that was still in use(!!). If there's a high-quality GC for WASM you've used, I'd love to know about it for my own use!
3 comments

I found this thread quite interesting on that topic:

https://github.com/WebAssembly/design/issues/1397

I am currently experimenting with my own language wasp/angle:

https://github.com/pannous/wasp/wiki/

As you pointed out true GC is currently postponed, so no long running processes yet. The hope is to get the language finalized just in time when all wasm 2 features become standardized

As an OCaml fan, I’m pretty into what grain has been up to: https://grain-lang.org. Mem management ref: https://github.com/grain-lang/grain/pull/768/files