It is the year 2020: why should I use / learn D?

Basile B. b2.temp at
Wed Nov 14 17:47:10 UTC 2018

On Wednesday, 14 November 2018 at 16:09:32 UTC, Eugene Wissner 
> No, it wasn't the reason. Some algorithms cannot be implemented 
> with ranges as efficient as with iterators.
> "In other words, by converting the is_word_boundary from 
> iterators to D-style ranges, the algorithm goes from O(1) to 
> O(N). From this we draw the following conclusion: D’s choice of 
> algorithmic basis operations is inherently less efficient than 
> C++’s."
> C++ iterators are more flexible.

You meant D ?

> I think of things like rotate and bringToFront ...

More information about the Digitalmars-d mailing list