Mac Apps That Use Garbage Collection Must Move to ARC

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 25 13:44:05 PST 2015


On 2/25/15 1:27 PM, Benjamin Thaut wrote:
> Am 24.02.2015 um 10:53 schrieb Walter Bright:
>> On 2/24/2015 1:30 AM, Tobias Pankrath wrote:
>>> Are the meaningful performance comparisons
>>> between the two pointer types that would enable us to estimate
>>> how costly emitting those barriers in D would be?
>>
>> Even 10% makes it a no-go. Even 1%.
>>
>> D has to be competitive in the most demanding environments. If you've
>> got a server farm, 1% speedup means 1% fewer servers, and that can add
>> up to millions of dollars.
>
> 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


More information about the Digitalmars-d mailing list