D outperformed by C++, what am I doing wrong?

amfvcg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 13 01:13:56 PDT 2017


On Sunday, 13 August 2017 at 08:00:53 UTC, Daniel Kozak wrote:
> my second version on ldc takes 380ms and c++ version on same 
> compiler (clang), takes 350ms, so it seems to be almost same
>

Ok, on ideone (ldc 1.1.0) it timeouts, on dpaste (ldc 0.12.0) it 
gets killed.
What version are you using?

Either way, if that'd be the case - that's slick. (and ldc would 
be the compiler of choice for real use cases).


More information about the Digitalmars-d-learn mailing list