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