Mac Apps That Use Garbage Collection Must Move to ARC

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 25 13:50:55 PST 2015


On Wednesday, 25 February 2015 at 21:44:05 UTC, Andrei 
Alexandrescu wrote:
>> You seeing this completely one sided. Even if write barries 
>> make code
>> slower by 10% its a non issue if the GC collections get faster 
>> by 10% as
>> well. Then in average the program will run at the same speed.
>
> Hmmmm... not sure the math works out that way. -- Andrei

Yeah the math are wrong, but the general idea remains.

I don't think it make sens to completely discard the idea of 
barriers, especially when it come to write barrier on the 
immutable heap. At least that should certainly pay off.


More information about the Digitalmars-d mailing list