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.