D speed compared to C++

Walter Bright newshound1 at digitalmars.com
Fri Mar 21 01:47:55 PDT 2008


Matthew Allen wrote:
> Walter you are right. That was the issue. I added a function call
> into the loop and D came out a lot faster than C++.
> 
> Thanks for a great language!!!

You're welcome. To compare D vs C++ as languages, rather than the 
optimizers or code generators, the most straightforward way is to 
benchmark dmd vs dmc, and gdc vs gcc.




More information about the Digitalmars-d mailing list