C++ vs. D memory management performance (Was: Faster Virtual Method Dispatch)

Sean Kelly sean at f4.ca
Thu Apr 27 17:19:02 PDT 2006


Craig Black wrote:
> 
> So what do you think we should do about GC to make D faster?  Do you favor 
> making GC optional or writing a more optimized, compacting GC?  I personally 
> think that even optimized GC won't come close to code that has been 
> optimized with manual memory management.

By the way, I do think that GC performance can be improved significantly 
over where it is now, so don't take my other reply as an admission that 
GC is slow.  Also, I suspect that by the time D hits 1.0, GC performance 
will be much improved over what it is now.  This can be achieved a 
number of different ways, but the most obvious would be for the GC to 
ignore memory blocks that don't contain pointers.


Sean



More information about the Digitalmars-d mailing list