News for hackers. Stuff that matters.
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? by jeremyjh on Thursday December 23, 2021 @07:26AM (#29661165)
Ref-counting provides consistent performance - the costs are amortized smoothly over the operations. They aren't doing all this work for "purity".
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? by bjourne on Thursday December 23, 2021 @11:24AM (#29663368)
Performance of ref-counting is proportional to the size of the dead objects. Performance of tracing gc is proportional to the size of the alive objects. In other words, there are many real-world situations in which ref-counting pauses are much longer than tracing gc pauses.
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? by louthy on Thursday December 23, 2021 @07:45AM (#29661301)
Ref counting can also lead to memory leaks with circular references.