Slicing static arrays should be @system

bearophile bearophileHUGS at lycos.com
Sat Nov 3 22:37:57 PDT 2012


Jonathan M Davis:

> I honestly don't see how we could do otherwise
> without the compiler being way, way smarter at detecting 
> escaping references than is ever going
> to happen.

One question is how much work does it take to precisely keep 
track of such memory zones inside the static type system of D? :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list