Simply running a "hello world.exe" takes, on my pc:

1.12s When compiled with dmd
0.62s When compiled with ldc
0.05s When compiled with dmc (C program) or dmd/ldc as a -betterC program

I suppose initializing the runtime takes a lot of time. When making a simple command line utility, half a second of delay is highly undesirable.

Are there ways to reduce this to below 0.1s, or should I just leave idiomatic D and make a betterC program?

Reply via email to