Safe method wont check dangling pointer?
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 15 18:55:34 PDT 2014
Walter Bright:
> What little remains is often @system for performance reasons,
> where you'd turn off a sanitizer anyway.
You are wrong. Both integer overflow sanitizers and those various
modern memory/address sanitizers are not meant to be used in the
final release of the code. They are meant to be used one at a
time during testing or debugging (and the memory sanitizers slow
down the code 2-3 times, so they can be used in many cases of
debugging), and then later disabled.
Bye,
bearophile
More information about the Digitalmars-d
mailing list