Jump to content

Talk:Automatic Reference Counting

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Paxcoder (talk | contribs) at 16:40, 26 August 2017 (Second take on the requested move). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconApple Inc. Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Apple Inc., a collaborative effort to improve the coverage of Apple, Mac, 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.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.

Reference counting not garbage collection?

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.

2.221.249.190 (talk) 20:20, 4 June 2014 (UTC) Dylan B[reply]

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)[reply]

Vala

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

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}}).

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • 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.

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

Copied by reference?

The article says that values types are "copied by reference". Shouldn't it be passing by value ie copied in their entirety in contrast with only copying (and then counting) references to objects? — Preceding unsigned comment added by 92.242.236.164 (talk) 19:04, 1 August 2017 (UTC)[reply]

Requested move 1 August 2017

The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.

The result of the move request was: not moved. (non-admin closure) TonyBallioni (talk) 00:55, 18 August 2017 (UTC)[reply]


Automatic Reference CountingAutomatic Reference Counting (Clang implementation) – Automatic reference counting is a technology. This article is about an autonymous feature. I propose a move, and making this a title of a disambiguation page 92.242.236.164 (talk) 20:33, 1 August 2017 (UTC)--Relisting. DrStrauss talk 10:26, 9 August 2017 (UTC)[reply]

  • Question: What would be listed on this new proposed disambiguation page? Checking Special:AllPages, I fail to see any other existing article with a "Automatic reference counting" title[1] or a "Automatic Reference Counting" in uppercase.[2]. Disambiguation pages should not list articles that do not exist yet. Unless these questions are addressed, such a page move would be premature, as it would be considered an unnecessary disambiguation. A proposal to either split this article, or create a new one should be done first. Zzyzx11 (talk) 02:26, 4 August 2017 (UTC)[reply]
  • Oppose until the concerns raised by Zzyzx11 have been addressed.–Totie (talk) 18:08, 9 August 2017 (UTC)[reply]

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.

Requested move 26 August 2017

Automatic Reference CountingAutomatic Reference Counting (Clang implementation) – Automatic reference counting is a technology. This article is about an autonymous feature. I propose a move, and making (Automatic reference counting, regardless of case) a title of a disambiguation page, between this and the article Reference counting Paxcoder (talk) 16:40, 26 August 2017 (UTC)[reply]

I am opening this discussion according to guidelines, after the one from the 1st was closed. I've added clarifications in parentheses and in italic, which should answer User:Zzyzx11's question/objection. --Paxcoder (talk) 16:40, 26 August 2017 (UTC)[reply]