[phobos] enforce() vs. assert() for range primitives

Andrei Alexandrescu andrei at erdani.com
Sun Aug 22 13:47:56 PDT 2010


Java solves that problem by limiting object sizes to 64KB. I suggest we 
do the same.

Andrei

On 08/22/2010 10:03 AM, Michel Fortin wrote:
> Le 2010-08-22 à 9:42, Andrei Alexandrescu a écrit :
>
>> Regarding the null pointer, I don't think it's a memory safety issue on systems with memory protection - it's a hard error.
>
> That's generally correct. Though there's still a loophole:
>
> 	<http://d.puremagic.com/issues/show_bug.cgi?id=3677>
>


More information about the phobos mailing list