News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by astrange on Sunday April 24, 2022 @07:12AM (#31142961)
The fastest system currently out there is iOS, which (as this article says) doesn't use GC and does use clever reference counting, so yes?

Note, most people here arguing that GC is actually always faster are forgetting that reading memory itself has a cost, especially in systems with swap or other reasons it might have a /really/ large cost.

Re:Chris Lattner on garbage collection vs. Automatic Referen... by kaba0 on Monday April 25, 2022 @09:28AM (#31154303)
You shouldn’t attribute the difference to the GC algorithm used when there are generations between ios’s CPUs and android’s.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by astrange on Monday April 25, 2022 @07:29PM (#31162199)
If you won't believe me, you could believe Chris in the article.

> Chris Lattner: Here’s the way I look at it, and as you said, the ship has somewhat sailed: I am totally convinced that ARC is the right way to go upfront.