April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=12550

--- Comment #11 from Steven Schveighoffer <schveiguy@yahoo.com> ---
(In reply to Benjamin Thaut from comment #9)
> Please consider that you will scare of useres that care for maximum performance (gaming, embended) if a noboundscheck does not turn off all bounds checks.

Don't use @safe for tuned code.

--
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=12550

--- Comment #12 from Benjamin Thaut <code@benjamin-thaut.de> ---
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.

--
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=12550

--- Comment #13 from Steven Schveighoffer <schveiguy@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.

--
April 12, 2014
https://issues.dlang.org/show_bug.cgi?id=12550

--- Comment #14 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/23748b988fe60b2f6ab697c482afe9511d3f444a Add -boundscheck=[on|safeonly|off] option

Replaces -noboundscheck (which becomes deprecated)

Fixes issue #12550

--
April 12, 2014
https://issues.dlang.org/show_bug.cgi?id=12550

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
1 2
Next ›   Last »