Slow performance compared to C++, ideas?

Walter Bright newshound2 at digitalmars.com
Thu May 30 20:52:34 PDT 2013


On 5/30/2013 7:31 PM, finalpatch wrote:
> Thanks for the reply. I have already tried these flags. However, DMD's codegen
> is lagging behind GCC and LLVM at the moment, so even with these flags, the
> runtime is ~10x longer than the C++ version compiled with clang++ (2sec with
> DMD, 200ms with clang++ on a Core2 Mac Pro). I know this is comparing apples to
> oranges though, that's why I was comparing GDC vs G++ and LDC vs Clang++.

Yes, you're comparing things the right way.



More information about the Digitalmars-d mailing list