Conspiracy Theory #1

Walter Bright newshound1 at digitalmars.com
Thu Nov 19 23:36:18 PST 2009


dsimcha wrote:
> Yes, and similarly, when I write code to do some complicated processing of gene
> expression data or DNA sequences, and it uses RAM measured in gigabytes, I go to
> similar lengths to avoid GC for similar reasons.  (That and false pointers.)  It's
> not unique to server space.  The reason I still use D instead of C or C++ is
> because, even if I'm using every hack known to man to avoid GC, it's still got
> insane metaprogramming capabilities, and it's still what std.range and
> std.algorithm are written in.

Generally, GC only works well if the size of your allocations is << the 
size of the memory. Are you working with gigabyte sized allocations, or 
just lots of smaller ones?



More information about the Digitalmars-d mailing list