Uphill

via Digitalmars-d digitalmars-d at puremagic.com
Mon May 25 03:53:30 PDT 2015


On Sunday, 24 May 2015 at 19:06:28 UTC, weaselcat wrote:
> Furthermore, I strongly dislike that Rust has made it 
> completely impossible to opt out of bounds checking without 
> annotating your code with unsafe.

But this is exactly the situation in D, isn't it? As soon as you 
use `arr.ptr[i]`, you're no longer @safe. Or do you mean that 
there's no command-line switch equivalent to -noboundscheck?


More information about the Digitalmars-d mailing list