[swift-evolution] What about garbage collection?
cocoadev at charlessoft.com
Mon Feb 8 22:34:28 CST 2016
> On Feb 8, 2016, at 10:20 PM, Michel Fortin via swift-evolution <swift-evolution at swift.org> wrote:
> Le 8 févr. 2016 à 16:00, Chris Lattner via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> a écrit :
>> I’m personally not interested in requiring a model that requires us to throw away a ton of perfectly good RAM to get an “simpler" programming model - particularly on that adds so many tradeoffs.
> Me neither. I certainly prefer ARC. Hence one reason I like Swift more than D.
> I'd just like to point out that a "fake" GC that stops short of actually freeing objects to instead print a warning on the console listing objects to be collected would be a great help to detect and fix cycles early in development.
Isn’t this essentially what the ‘leaks’ tool is?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution