Update on the D-to-Jai guy: We have real problems with the language

Basile B. b2.temp at gmx.com
Tue Nov 29 07:16:44 UTC 2022


On Monday, 28 November 2022 at 17:08:04 UTC, H. S. Teoh wrote:
> On Mon, Nov 28, 2022 at 04:27:03AM +0000, Basile B. via 
> Digitalmars-d wrote: [...]
>> For better compile times and with LDC people should also 
>> always use the undocumented option `--disable-verify` (for a 
>> DUB recipe this would go in the dlags-ldc2 array for example).
>> 
>> By default ldc2 verifies the IR produced [...]
>
> Hmm.  I just tested `--disable-verify` on one of my 
> medium-complexity projects (just under 40 .d files, compiled in 
> a single command); didn't measure any significant speed 
> difference.  Both with and without `--disable-verify` it took 
> about 20 seconds for a full build (generate Linux & Windows 
> executables + run unittests).
>
>
> T

Maybe your code is too good to make IR verification falling into 
pathological cases.


More information about the Digitalmars-d mailing list