Re:Moving from TypeScript to Rust / WebAssembly
by zozbot234 on Thursday July 09, 2020 @05:32AM
(#23778437)
Reference counting is a kind of garbage collection (taken broadly), but it's quite different from tracing GC.
[ Parent
| on HN ]
Re:Moving from TypeScript to Rust / WebAssembly
by jashmatthews on Thursday July 09, 2020 @06:24AM
(#23778664)
Naive use of RC doesn't look like tracing much but as soon as you need cycle-aware RC like the CactusRef the algo looks a lot like tracing GC https://github.com/artichoke/cactusref#cycle-detection