Void pointers
ag0aep6g via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue May 17 05:22:04 PDT 2016
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
More information about the Digitalmars-d-learn
mailing list