Mac Apps That Use Garbage Collection Must Move to ARC

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 24 01:30:31 PST 2015


>>> I suspect it would be a terrible performance hit.
>>
>> It would be nice to have some numbers backing this up.
>
>
> This the approach taken by Active Oberon and Modula-3.
>
> Pointers are GC by default, but can be declared as untraced 
> pointers in code considered @system like in D.
>

Do they have concurrent gc and emit barriers for each write to a
default pointer? Do they have precise scanning and don't scan the
untraced pointers? 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?


More information about the Digitalmars-d mailing list