Is D slow?
Era Scarecrow via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jun 9 12:43:55 PDT 2017
On Friday, 9 June 2017 at 18:32:06 UTC, Steven Schveighoffer
wrote:
> Wow, so that's how D code would look like if it were C++ :)
When dipping my toes into C++ to do a quicksort algorithm, I
quickly got annoyed I'd have to create all the individual
comparison functions rather than just one like in D... Which is
one thing I'm seeing from the converted 'toy'. Actually I ended
up making an opCmp and then overloading all the individual types
to use the opCmp.
More information about the Digitalmars-d-learn
mailing list