News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by hmlongco on Tuesday April 26, 2022 @06:27PM (#31173956)
"No doubt straight up ARC with refcounting bumps on every function call,etc..."

Yeah, but in Swift you don't do that. From what I'm told, the compiler's static analysis has gotten a lot smarter in determining when a ref-count bump is needed, and the increased use of struct-based value types in the language leads more and more to situations where a refcount bump isn't needed at all since there's no object reference in the first place.

There are no comments on this comment yet.