How fast is D compilation compared to C++?

Imperatorn johan_forsberg_86 at hotmail.com
Sat Sep 24 15:56:38 UTC 2022


On Tuesday, 20 September 2022 at 16:13:30 UTC, Ali Çehreli wrote:
> D's CTFE can make D compilation infinitely slow. Let's put 
> anomalous cases aside...
>
> We say D compiles much faster than C++. Does anyone have any 
> measurement or a gut feeling about the same program written in 
> idiomatic C++ vs. idiomatic D? I think it may be 30 seconds vs. 
> 5 seconds. I that a fair guess?
>
> Although a ballpark figure is good enough, precise measurements 
> would be useful as well.
>
> Thank you,
> Ali

Side note:

Does anyone know how updated this is?

https://programming-language-benchmarks.vercel.app/d


More information about the Digitalmars-d mailing list