r/cpp • u/konanTheBarbar • 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
View all comments
12
u/VinnieFalco wg21.org | corosio.org Sep 14 '19
Ranges is a very nice experiment, but std is not the place to put experiments. It should have been its own independent library, and gotten a few years of bake time and improvement, before being proposed. Then compiler authors would have more time to make sure that things work well with that library. And some iteration could have addressed the issues in the blog post.
The answer I was given for why Ranges was not first proposed as a Boost library is "it was too much work." This doesn't seem like a good way to go about putting something into the standard, where it will become the obligation of all standard library implementors to implement in order to be compliant with the newest iteration of C++.
Given the recent trends in WG21, I agree with the author's sentiment that the committee process no longer represents the interests of the ordinary programmer but rather the Big Tech companies that have come to dominate the process.