7 ms·
> For both Larson and Pollak, one of Swift’s biggest advantages over Objective-C is that it does what’s called “automatic garbage collection.” Basically, this m
by titaniumdecoy 12y ago
> For both Larson and Pollak, one of Swift’s biggest advantages over Objective-C is that it does what’s called “automatic garbage collection.” Basically, this means that it will automatically dispose of unneeded information that’s sitting in a machine’s memory, and the result is that developers won’t have to spend a lot of time and energy trying to deal with memory management on their own. This is the primary reason that Larson believes Swift can reach a much larger number of developers.
Ummm... Automatic Reference Counting is not new to Swift (nor is it "garbage collection"), and has been part of Objective-C since 2011.
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html https://developer.apple.com/library/prerelease/ios/documenta...