scope keyword - a maintenance nightmare?

Walter Bright newshound1 at digitalmars.com
Sat Aug 18 12:58:55 PDT 2007


James Dennett wrote:
> There's one fundamental difference: C++ language features
> and standard library are GC-neutral, i.e., will work with
> or without GC.  GC is more inherent to D (which means that
> D can benefit from certain simplifications, but also that
> you can't use so much of D if you're in a situation where
> GC isn't an acceptable option).

I don't agree. While the library relies on gc, very little of the D core 
language itself relies on it - only associative arrays, and array 
resizing and concatenation does.

The latter array operations can also be done in D without using the gc, 
it's just more convenient to use the gc.



More information about the Digitalmars-d mailing list