d future or plans for d3

Timon Gehr timon.gehr at gmx.ch
Mon Dec 19 10:54:22 PST 2011


On 12/19/2011 07:50 PM, Vladimir Panteleev wrote:
> On Monday, 19 December 2011 at 08:28:52 UTC, Adam Wilson wrote:
>> According to this wikipedia page
>> http://en.wikipedia.org/wiki/Boehm_garbage_collector it is also the GC
>> that is used by D, with some minor modifications of course.
>
> I'm not sure if that's true... I believe that they both use the same
> basic idea, but AFAIK the D garbage collector is a D port of a C rewrite
> which was originally written for something else. The D GC has been
> optimized a lot since its first versions.

It would probably be interesting to test the mostly concurrent 
generational Boehm GC with D. I'd expect it to perform a lot better than 
the simple mark and sweep GC we have in druntime.


More information about the Digitalmars-d mailing list