Why is D unpopular?

max haughton maxhaton at gmail.com
Wed May 25 23:34:30 UTC 2022


On Wednesday, 25 May 2022 at 23:16:35 UTC, forkit wrote:
> On Wednesday, 25 May 2022 at 21:47:38 UTC, Walter Bright wrote:
>> On 5/25/2022 12:19 PM, H. S. Teoh wrote:
>>> I wouldn't be against an explicit switch to disable bounds 
>>> checks for
>>> when you want to measure this.  But it should not be the 
>>> default
>>> behaviour of -release.
>>
>> It isn't. To turn off bounds check, you'll need -noboundscheck
>>
>> -release just turns off asserts.
>
> Hhh? You mean that's all -release does? Just turn off asserts? 
> Nothing else (whatsoever)?

https://d.godbolt.org/z/MjPe35Maz

release does turn off bounds checking.


More information about the Digitalmars-d mailing list