Mac Apps That Use Garbage Collection Must Move to ARC
via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 23 01:01:49 PST 2015
On Monday, 23 February 2015 at 08:50:28 UTC, Walter Bright wrote:
> 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 :-)
You don't worry about a lot of things that you ought to worry
about :-P
More information about the Digitalmars-d
mailing list