Is D slow?

Ola Fosheim Grøstad via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 11 23:36:14 PDT 2017


On Friday, 9 June 2017 at 19:43:55 UTC, Era Scarecrow wrote:
> 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

Not sure what you mean by that? You only need one in C++.

http://en.cppreference.com/w/cpp/utility/functional/less




More information about the Digitalmars-d-learn mailing list