new D2.0 + C++ language

BCS ao at pathlink.com
Wed Mar 18 09:26:08 PDT 2009


Reply to Weed,

> If you know the
> best way for language *without GC* guaranteeing the existence of an
> object without overhead - I have to listen!
> 

Never delete anything?

One of the arguments for GC is that it might well have /less/ overhead than 
any other practical way of managing dynamic memory. Yes you can be very careful 
in keeping track of pointers (not practical) or use smart pointers and such 
(might end up costing more than GC) but neither is particularly nice.





More information about the Digitalmars-d mailing list