More radical ideas about gc and reference counting

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Sat May 10 01:18:29 PDT 2014


On Saturday, 10 May 2014 at 07:42:05 UTC, Francesco Cattoglio 
wrote:
> On Saturday, 10 May 2014 at 07:08:04 UTC, Andrei Alexandrescu 
> wrote:
>> On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote:
>>> ARC overhead would have no meaningful impact on performance, 
>>> GC may
>>> potentially freeze execution. I am certain I would never 
>>> notice ARC
>>> overhead on a profiler, and if I did, there are very simple 
>>> methods to
>>> shift it elsewhere in the few specific circumstances it 
>>> emerges.
>>
>> This is very, very, very wrong. -- Andrei
>
> I've seen this discussion ("it's almost performance-free", 
> "it's a performance killer") so many times, I can't even say 
> who has the burden of proof anymore.

I wish that someone would take the time and implement ARC in D. 
That's the only way to prove anything. If you implement it and 
you can provide clear evidence for its advantages, then that just 
ends all discussions.


More information about the Digitalmars-d mailing list