Mac Apps That Use Garbage Collection Must Move to ARC
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 23 00:49:53 PST 2015
On 2/23/2015 12:33 AM, Tobias Pankrath wrote:
> On Monday, 23 February 2015 at 08:27:52 UTC, Ola Fosheim Grøstad wrote:
>> Thanks to the messed up modular arithmetics that D has chosen you cannot
>> assume the a non-shared live object does not have a rc==0 due to wrapping
>> integers, in the general case.
>
> You mean when there are more than 2^64 references to the object?
Yeah, it'll wrap when there are more references than can even theoretically fit
in the address space.
I'm not worried about it :-)
More information about the Digitalmars-d
mailing list