Tango vs Phobos

Frank Benoit keinfarbton at googlemail.com
Mon Aug 11 12:24:51 PDT 2008


Sean Kelly schrieb:
> 
>> 3.) the closures are not really closures. E.g. const variables can 
>> change value. (Bug 2043)
> 
> This one, at least, is clearly a bug.
> 

I think this is not a bug in the compiler. Instead it shows the bug in 
the concept.

The concept is "simply allocate the whole stack frame on the heap". But 
it turns out to be not sufficient. Now what? Heap allocated each scope 
also? for every loop iteration?



More information about the Digitalmars-d mailing list