You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I've found this one called dumpster. Gc type behaves similar to Rc, but the GC can work concurrently if one chooses. What do you think? Would a massive rewrite be needed?
We unfortunately cannot use https://github.com/artichoke/cactusref, as it is nightly only.
Samsara seems like a great fit from the looks of it. bacon_rajan_cc is stop-the-world only, which is a downside.
I'm personally leaning towards testing both samsara and dumpster.
Activity
[-]gc with samsara?[/-][+]gc with cyclic collector?[/+]darleybarreto commentedon Jan 13, 2025
Recently I've found this one called dumpster.
Gctype behaves similar toRc, but the GC can work concurrently if one chooses. What do you think? Would a massive rewrite be needed?youknowone commentedon Jan 28, 2025
I didn't compare the candidates yet.
Anyone that doesn't hurt basic RC performance that much will be the best.
arihant2math commentedon Jan 28, 2025
We unfortunately cannot use https://github.com/artichoke/cactusref, as it is nightly only.
Samsara seems like a great fit from the looks of it.
bacon_rajan_ccis stop-the-world only, which is a downside.I'm personally leaning towards testing both samsara and dumpster.
youknowone commentedon Oct 6, 2026
The VM has a cyclic collector (
crates/vm/src/gc_state.rs). A two-object reference cycle is collected bygc.collect()on current main.Closing.
— commented by Grok 4.6