DIP69 - Implement scope for escape proof references

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 5 16:48:50 PST 2014


Walter Bright:

> The question, obviously, is what is good enough to get the job 
> done. By "the job", I mean reference counting, migrating many 
> allocations to RAII (meaning the stack), and eliminating a lot 
> of closure GC allocations.

Another essential purpose of a similar proposal is to avoid some 
bugs caused by using memory from vanished stack frames, etc, that 
is to have memory safety in D.

Bye,
bearophile


More information about the Digitalmars-d mailing list