Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
adrianN
5y ago
0 comments
Share
I doubt that you'll write a large Rust program without relying on refcounting at least for some of your objects. Refcounting is not fundamentally different than a GC.
0 comments
default
newest
oldest
zozbot234
5y ago
Reference counting is a kind of garbage collection (taken broadly), but it's quite different from tracing GC.
jashmatthews
5y ago
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
j
/
k
navigate · click thread line to collapse