[Issue 12550] Deprecate -noboundscheck and replace with more useful -boundscheck= option

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 10 10:04:33 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12550

--- Comment #7 from Martin Krejcirik <mk at krej.cz> ---
(In reply to Steven Schveighoffer from comment #6)
> The developer is not always the builder. e.g. template code.

Also the builder is not always the developer. It's much easier (and I would say
safer), changing a command line option, than changing the code, just to test
how fast it runs.

Sometimes you don't care for possible bugs, you just want it to run as fast as
possible. The pull request explicitly warns that this option should be used
with care.

Also there is a discussion about version identifiers, which should allow the
developer some control over this (for example emit a warning or stop the
compilation in some super secure functions).

--


More information about the Digitalmars-d-bugs mailing list