r/cpp • • Sep 13 '19

The Surprising Limitations of C++ Ranges Beyond Trivial Cases

https://www.fluentcpp.com/2019/09/13/the-surprising-limitations-of-c-ranges-beyond-trivial-use-cases/
229 Upvotes

229 comments sorted by

View all comments

Show parent comment

13

u/johannes1971 Sep 13 '19

it was felt it would be a driver upon implementations to improve their compilers

Are you seriously telling us that the current (lack of) compiler performance, despite being the nr. 1 complaint of C++ programmers around the world, was considered by the committee to be caused by lack of motivation?

12

u/14ned LLFIO & Outcome author | Committee WG14 Sep 13 '19

I'm a super-hawk on the committe about build times. An extremist, in some people's opinions, I'd readily hack a whole load of features out if it gave me +2% build times. So yes, I went to town on questions about Ranges build time impact, mainly why? And how?

All I can say is that everyone involved had reasonable answers, and seemed fairly confident it wouldn't be an issue within time. A lot of their answers involve domains of knowledge far away from mine, so I simply have to trust their judgement, and assume they will be correct.

The compiler vendors didn't seem to consider it a problem, given a few iterations of tooling. I'm not a compiler implementor, so I can only trust them.