If you needed any more evidence that memory safety is the future...

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 24 16:50:36 PST 2017


On Fri, 24 Feb 2017 21:16:28 +0100, Timon Gehr wrote:

> On 24.02.2017 16:29, Chris Wright wrote:
>> On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
>>> forget about "-release" dmd arg. forget about "-boundscheck=off". no,
>>> really, they won't do you any good. after all, catching a bug in your
>>> program when it doesn't run in controlled environment is even more
>>> important than catching a bug in debugging session! don't hate your
>>> users by giving 'em software with all safety measures removed! please.
>> Especially since -release disables assertions and contracts.
> 
> No.

It does in fact disable assertions and contracts.

> Worse. It turns failures into UB.

Which is what ketmar described.


More information about the Digitalmars-d mailing list