News for hackers. Stuff that matters.
Re:The D Garbage Collector by pcwalton on Monday March 20, 2017 @10:04PM (#13919256)
If you really don't know until runtime what heap a pointer is in, then write barriers will have some kind of cost, but it should be low (definitely not atomic).

However, if you don't know statically what kind of heap a pointer is in, you're going to have a poorly performing GC system no matter what.

There are no comments on this comment yet.