After compiling Hello World with DMD Compiler, .EXE file takes 1-3 seconds to run for the first time

BoQsc vaidas.boqsc at gmail.com
Mon May 18 16:00:18 UTC 2020


On Monday, 18 May 2020 at 15:49:06 UTC, Adam D. Ruppe wrote:
> On Monday, 18 May 2020 at 15:47:40 UTC, BoQsc wrote:
>> It seems strange that on the first run after D language 
>> compilation. Hello World program takes 1-3 seconds to launch.
>
> That's the Windows virus scanner again.
>
> It sees D programs as unusual and gives them additional 
> scrutiny...
>
> You can set an exception in the windows virus scanner settings 
> for the folder where you work with D.

That's exactly what it was. I disabled the Windows Security 
Real-Time Protection,
and tested few more times. The execution was immediate.

Thanks Adam.


More information about the Digitalmars-d-learn mailing list