More evidence that memory safety is the future for programming languages

Atila Neves atila.neves at gmail.com
Wed Apr 1 14:30:20 UTC 2020


On Tuesday, 31 March 2020 at 23:08:01 UTC, Dukc wrote:

> Basically, to cut down memory problems a sanitizer should be as 
> easy to use as the built-in `unittest`s.

It is:

dflags: "-fsanitize=address" platform="ldc"


If you're not using dub, then:

ldc2 -fsanitize=address --unittest $REST_OF_ARGS


More information about the Digitalmars-d mailing list