Why is D unpopular?

Sergey kornburn at yandex.ru
Wed May 25 22:53:56 UTC 2022


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.

Exactly what competitive programmers do for better performance.
Flags for Codeforces for example:

dmd -L/STACK:268435456 -version=ONLINE_JUDGE -O -release -inline 
-noboundscheck {file}


More information about the Digitalmars-d mailing list