Memory safe in D

Ogi ogion.art at gmail.com
Mon Mar 11 14:25:08 UTC 2024


On Monday, 11 March 2024 at 13:16:04 UTC, Alex wrote:
> Thanks, it works on Windows to :)
> Is it possible pass the compilation flag -O via `dub run`?
>

Of course: `dub run --build=release` :). The `-O` flag instructs 
DMD to optimize generated code, and null dereference detection is 
just a by-product of data flow analysis that DMD performs for 
some optimizations.


More information about the Digitalmars-d mailing list