Why is D unpopular?
forkit
forkit at gmail.com
Thu May 26 01:07:38 UTC 2022
On Wednesday, 25 May 2022 at 23:34:30 UTC, max haughton wrote:
> 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.
I'm gunna-hav-ta take your word for it ;-)
..(cause I can't read assembly, nor do I want to ;-)
But the fact that nobody seems to really know (even Walter!), is
troubling, to say the least.
Perhaps someone well informed needs to write a brief article, so
we can all learn what -release 'really' does.
More information about the Digitalmars-d
mailing list