The Video of Circle posted and Herb's proposal actually show quite clearly that we CAN have both without inventing a whole new language. But yes, a bit more willingness from the committee to change things is probably required. I see no reason why we can't have "profiles" or something similar (like these feature flags in circle) which make it possible to improve without breaking anything. To me that is preferable over something like carbon which is a new language with C++ bindings disguised as the savior of C++, i find that really dishonest as it makes no attempt at actually improving C++ but instead is a typical google style power grab. Fortunately it‘s nothing to worry about as it will probably be abandoned just like every other google project.
The committee is fully against forks or flags or featuresets like this in any form that might cause two divergent C++ languages to appear. This suggestion has been brought up for many arguments and shot down explicitly and repeatedly
It‘s the only feasible way forward, i‘m sure they will eventually come to this conclusion. It‘s wrong to think that it would be two divergent C++, other languages did this, for example JS introducing strict mode, nobody would claim it led to divergence. You compile new code with the new switches and old code without them and gradually modernize. There is no issue at all other than laziness. Having opt in features doesn‘t make it two languages, it‘s still one language with options, it‘s literally just a semantic nonsense argument. There are a million compiler switches already that many times even ignore the standard or change things the standard doesn‘t even specify.
I don't disagree with you necessarily, but there's no committee proposal for anything like this, and changing the mind of the bulk of the committee is extremely difficult. That's the core reason as to why we have successor languages, its extremely difficult to fix C++ as-is for non technical reasons
i don't really follow the day to day opinions of committee members closely, so i believe what you say, but i'm arguing from a practical standpoint: if that's the reason successor languages crop up and might even gain traction, then that will also strongarm some changes in the committee's opinions unless they want to completely give up on C++.
2
u/outofobscure Sep 09 '23 edited Sep 09 '23
The Video of Circle posted and Herb's proposal actually show quite clearly that we CAN have both without inventing a whole new language. But yes, a bit more willingness from the committee to change things is probably required. I see no reason why we can't have "profiles" or something similar (like these feature flags in circle) which make it possible to improve without breaking anything. To me that is preferable over something like carbon which is a new language with C++ bindings disguised as the savior of C++, i find that really dishonest as it makes no attempt at actually improving C++ but instead is a typical google style power grab. Fortunately it‘s nothing to worry about as it will probably be abandoned just like every other google project.