Variable-length stack allocated arrays
Walter Bright
newshound1 at digitalmars.com
Mon Jan 11 17:43:52 PST 2010
grauzone wrote:
> Andrei Alexandrescu wrote:
>> That being said, I like stack-allocated and I asked Walter for a long
>> time to introduce them in the language. They have their problems though.
> They can just be disabled in safe mode, if that's the problem.
One of the problems is they can easily lead to stack exhaustion. Stack
sizes for a thread must all be preallocated.
More information about the Digitalmars-d
mailing list