Escape analysis (full scope analysis proposal)
Steven Schveighoffer
schveiguy at yahoo.com
Sun Nov 2 04:39:48 PST 2008
"Andrei Alexandrescu" wrote
> Steven Schveighoffer wrote:
>> I think everyone who thinks a scope decoration proposal is going to 1)
>> solve all scope escape issues and 2) be easy to use is dreaming :P
>
> I think that's a fair assessment. One suggestion I made Walter is to only
> allow and implement the scope storage class for delegates, which simply
> means the callee will not squirrel away a pointer to delegate. That would
> allow us to solve the closure issue and for now sleep some more on the
> other issues.
If scope delegates means trust the coder knows what he is doing (in the
beginning), I agree with that plan of attack.
-Steve
More information about the Digitalmars-d
mailing list