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

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 25 06:50:43 PST 2017


On Saturday, 25 February 2017 at 14:38:33 UTC, Chris Wright wrote:
> On Sat, 25 Feb 2017 13:23:03 +0100, Timon Gehr wrote:
>> If 'disable' (as can be reasonably expected) means the 
>> compiler will behave as if they were never present, then it 
>> does not.
>
> https://dlang.org/dmd-linux.html#switch-release
>
> Plus I actually tested it.
>
>> Ketmar described the removal of safety measures. With 
>> -release, assertions pose an additional safety risk.
>
> Assertions not executing is not undefined behavior.

http://forum.dlang.org/thread/hqxoldeyugkazolllsna@forum.dlang.org


More information about the Digitalmars-d mailing list