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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 10 13:06:28 PDT 2014


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

--- Comment #13 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Benjamin Thaut from comment #12)
> Thanks to attribute inference some stuff automatically becomes @safe. Also
> phobos and druntime use @safe. I don't want to pay the performance penatly
> for those.

Good point, but the compiler could easily compile on demand 2 versions, one
that is @safe and one that isn't, using the unsafe version wherever possible.
I'd rather see that in any case.

--


More information about the Digitalmars-d-bugs mailing list