GC a crutch?

0ffh spam at frankhirsch.net
Sun Mar 25 06:11:45 PDT 2007


Walter Bright wrote:
>> Which "wrong" assertions are those?
> gc is a crutch for lazy/sloppy/less capable programmers, gc isn't for 
> mission critical industrial apps, gc is for academic unusable languages, 
> etc.

I admit I used to think similar to that, a somewhat longer while ago.
What made me change my mind was that Greenspun's Tenth Rule also
includes GC: I find that doing the dynamic memory management myself
results not only in bigger and more fragile source code, but also
may perform worse than GC unless I go about it very warily.

I think it is just not efficient to put a lot of work into that
with every application - it's much more efficient if somebody
solves the problem *once*, and properly, and that's that.

Happy hacking,

   Frank

p.s.
Thanks for your work... ;-)



More information about the Digitalmars-d mailing list