On Friday, 1 December 2017 at 11:01:13 UTC, Walter Bright wrote:
Correction:
https://dlang.org/dmd-windows.html#switch-release
"compile release version, which means not emitting run-time
checks for contracts and asserts. Array bounds checking is not
done for system and trusted functions, and assertion failures
are undefined behaviour."
Right, that's what I was talking about in this post:
http://forum.dlang.org/post/[email protected]
"Indeed, but disabling bounds checking in @system code is trivial
anyway"
So leaving them only in @safe isn't much help #1 much D code
isn't @safe (that might change if it were default, but it isn't),
and #2 it is easy to turn off in @system code since the
`.ptr[index]` trick works very well.