On 05/17/2016 10:16 AM, Rene Zwanenburg wrote:
Additionally, some people recommend never using -release. It depends on that type of program you're writing, but the performance gain is often not worth the loss in safety. Think of the number of exploits enabled by C's lack of bounds checking.
Some more details on this: -release doesn't affect bounds checking in @safe code. It will still be done there. There is another switch that disables bounds checks even in @safe code: -boundscheck=off