Y
Hacker News
new
|
ask
|
show
|
jobs
by
nottorp
607 days ago
By the name i'd say Arc is reference counting, which isn't exactly garbage collection...
1 comments
rc00
607 days ago
Reference counting is quite literally a subset of garbage collection.
link
pod_krad
605 days ago
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.
link
rc00
605 days ago
https://news.ycombinator.com/item?id=43614013
link
nottorp
606 days ago
Then malloc/free are quite literally a subset of the borrow checker :)
link