GC vs. Manual Memory Management Real World Comparison

bearophile bearophileHUGS at lycos.com
Wed Sep 5 09:30:08 PDT 2012


> If you take a look at Ada language you see how much 
> static/stack-allocated arrays are used. In high performance 
> code they help, and I'd like D programmers and Phobos devs to 
> give them a little more consideration.

Also, the lack of variable length stack allocated arrays in D 
forces you to over-allocate, wasting stack space, or forces you 
to use alloca() that is bug-prone and makes things not easy if 
you need a multi dimensional array.

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list