[swift-evolution] What about garbage collection?

Greg Parker gparker at apple.com
Tue Feb 9 18:29:49 CST 2016


> On Feb 9, 2016, at 9:45 AM, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> On Feb 9, 2016, at 7:35 AM, Jean-Denis Muys via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>> I find it interesting that the commonly accepted wisdom is that GC is the right thing to do. To quote but one blog post I’ve read:
>> 
>>> It’s a long since resolved dispute, and GC won. I don’t want Steve Jobs to reach out from the grave and drag us back to the 70s. There’s nothing special about mobile phones: they are more powerful than the computers that GC won on in the first place.
> 
> I looked up that article (http://www.lshift.net/blog/2013/09/19/the-great-gc-vs-reference-counting-debate/ <http://www.lshift.net/blog/2013/09/19/the-great-gc-vs-reference-counting-debate/>) and it has several logical fallacies, including the obvious one that reference counting is not a form of GC!

Counter-pedantry: Reference counting *with an automatic cycle collector* is GC. ARC-style reference counting is not GC.


-- 
Greg Parker     gparker at apple.com <mailto:gparker at apple.com>     Runtime Wrangler


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160209/306cde37/attachment.html>


More information about the swift-evolution mailing list