Safe reference counting cannot be implemented as a library

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 28 02:17:20 PDT 2015


On Wednesday, 28 October 2015 at 06:07:12 UTC, Paulo Pinto wrote:
> Objective-C  does elide refcounting, there are a few WWDC ARC 
> sessions where it is mentioned. Same applies to Swift.

Indeed, John McCall from Apple has already described how ARC 
works in these forums (astonishingly nobody felt like thanking 
him for the input... :-/):

http://forum.dlang.org/post/hgmhgirfervrsvcghchw@forum.dlang.org

To what extent you can elide inc/dec depends on how you define 
and track ownership and whether you do whole program analysis, of 
course.



More information about the Digitalmars-d mailing list