Is there any language that native-compiles faster than D?

Per Nordlöw per.nordlow at gmail.com
Thu Aug 20 21:34:54 UTC 2020


On Thursday, 20 August 2020 at 21:21:39 UTC, kinke wrote:
> with `dmd -o- bla.d` takes about 37ms, while creating an empty 
> object.d and compiling with `dmd -o- bla.d object.d` takes 
> 24ms. There's no default includes for C, so this would make the 
> comparison more fair.

Thanks. But for really large files that won't make that big of 
difference. I'll add the generation of the object.d file aswell.

> Additionally, generics and templates are completely different 
> concepts and can't be compared.

I'm aware of that. But I wanted to start somewhere and expand 
from there.


More information about the Digitalmars-d mailing list