Hacker News new | ask | show | jobs
by nottorp 438 days ago
By the name i'd say Arc is reference counting, which isn't exactly garbage collection...
1 comments

Reference counting is quite literally a subset of garbage collection.
Garbage Collector acts mainly in unpredictable way. I mean it is possible it won't free memory even if counter is zero already. This is not true if we are talking about Rust.
Then malloc/free are quite literally a subset of the borrow checker :)