Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
nottorp
1y ago
0 comments
Save
Share
By the name i'd say Arc is reference counting, which isn't exactly garbage collection...
0 comments
4 comments · 1 top-level
top
newest
oldest
rc00
1y ago
· 3 in thread
Reference counting is quite literally a subset of garbage collection.
pod_krad
1y 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.
rc00
1y ago
https://news.ycombinator.com/item?id=43614013
nottorp
OP
1y ago
Then malloc/free are quite literally a subset of the borrow checker :)
j
/
k
navigate · click thread line to collapse