Mac Apps That Use Garbage Collection Must Move to ARC

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 26 13:17:58 PST 2015


Am 26.02.2015 um 20:58 schrieb Walter Bright:
>
> It was a generational gc, I described earlier how it used page faults
> instead of write barriers. I eventually removed the page fault system
> because it was faster without it.

Page faults are inferrior to compiler generated write barriers. Because 
with a page fault startegy you pay for every write. Even if the write 
does not write a pointer. Compiler generated write barriers only apply 
to pointers written through another pointer.


More information about the Digitalmars-d mailing list