Talk:Automatic Reference Counting

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Apple Inc. / iOS / Macintosh  (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Apple Inc., a collaborative effort to improve the coverage of Apple, Macintosh, iOS and related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
Checklist icon
 Low  This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by iOS task force (marked as Low-importance).
Taskforce icon
This article is supported by Macintosh task force (marked as Low-importance).

Reference counting not garbage collection?[edit]

The page states that

ARC is not the same thing as garbage collection, as there is no background process doing the deallocation of objects. Unlike garbage collection, ARC does not handle reference cycles automatically; it is up to the programmer to break cycles using weak references.

which goes against the article for garbage collection that lists reference counting as a form of garbage collection and explicitly mentions Objective-C's ARC

Objective-C has not traditionally had it, but Objective-C 2.0 as implemented by Apple for Mac OS X used a runtime collector developed in-house, which was deprecated by LLVM's automatic reference counter, a compile-time garbage collector.

and in my experience, reference counting is generally still considered a form of garbage colelction. I'm not familiar with editing wikipedia, the process of disputing arguable definitions like this, and I don't have any references to back it up so I'm not going to do anything more, but I thought it was worth documenting the inconsistency. (talk) 20:20, 4 June 2014 (UTC) Dylan B

I have edited the article to clarify that it is not the same as Cocoa's garbage collection. This allows the article to contrast the different Apple technologies for memory management - which I think is the useful part - while sidestepping the question of whether ARC is a form of garbage collection or not, which I think is better handled by the main reference counting and garbage collection articles. AJanuary (talk) 12:12, 9 June 2014 (UTC)


Vala also uses ARC, why it is not mentioned in this article? (talk) 16:01, 8 January 2016 (UTC)

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Automatic Reference Counting. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

You may set the |checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting |needhelp= to your help request.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

If you are unable to use these tools, you may set |needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.

Cheers.—InternetArchiveBot (Report bug) 06:15, 22 October 2016 (UTC)