After compiling Hello World with DMD Compiler, .EXE file takes 1-3 seconds to run for the first time
Adam D. Ruppe
destructionator at gmail.com
Mon May 18 23:37:12 UTC 2020
On Monday, 18 May 2020 at 16:01:14 UTC, kinke wrote:
> Is that really the case for all D programs on Windows, or just
> those built with -m32 and thus using the exotic DigitalMars C
> runtime?
-m32mscoff does it too, and -m64 has a slight delay as well
(though possible that's just a cold disk cache). I don't think it
is the runtime per se, I think it is the codegen.
It doesn't do it on ldc on my box, but possible I whitelisted
that whole subtree so someone else should check as well.
More information about the Digitalmars-d-learn
mailing list