r/cpp • u/13steinj • Oct 28 '26
What would it take to leave ISO?
With the conclusion of the DIS ballot, I think that no matter what side you're on, this should be (hopefully the final) wake up call that stayint in ISO under its process is untenable. If you're pro-contracts you probably see this as minority rule. If you're against, congrats-- the same game can be played against the feature you want in the future.
I see 3 possible results out of Brazil:
- Contracts are pulled, fight to see another day [and/or leave ISO, and/or fork the language].
- Contracts stay, roughly as is. To my understanding FDIS is a final chance scenario, so I don't see this working out. Even "as a statement," it's not a good look and WG21 will eat the blame.
- Contracts are fixed enough to flip 4 NB votes (there's a number of combinations, but you need a minimum of 4 total flips from no/abstain -> yes).
It's my understanding that FDIS is a "last chance" for 26. Personally, considering what else is in 26 (for me, reflection), I'd rather go with the first option. That begs the question: where do we go from here?
Continue with the current process, which has unearthed pain points and nasal demons every few years, or break up with the ISO process (this doesn't even have to be a clean break, just something closer to ECMAScript's process)?
If so, what would it take? Alternatively, if we could, what would we actually lose? What would we gain (besides more control of process)?
Obligatory "no sarcastic comments about getting a TARDIS and changing it back then."
66
u/105_NT Oct 28 '26
I don't think this is an ISO problem though. There are people with strong opinions which would be a problem in any system.
46
u/oscardssmith Oct 28 '26
IMO ISO is (and has been since at least the founding of the internet) a hilariously bad org to own a programming language. If you want to have a written standard, it's kind of important that the people writing your compiler have access to that standard. ISO's non-open source standards, opaque decision making processes, and exclusive membership are all antithetical to producing a high quality standard that is capable of changing with the times.
16
u/matthieum Oct 28 '26
Honestly, I have far greater concerns about ISO than latest contracts fiasco.
The first, and greater, concern is the paid membership. This excludes so many potential volunteers from even getting started.
The second concern is the structure of "meetings marathons":
The third concern is the idea of 3-years release cycle, due to bureaucracy.
All of this is detrimental to both velocity and quality. There's huge pressure to making the cut for the next meeting (or losing 3 months) or the next standard version (or losing 3 years), even though those are completely arbitrary constraints. Even minor fixes can set a feature/fix back 3 years, which is ridiculous... but bypassing the minor fixes to avoid losing those 3 years only lead to lowered quality.
Imagine a world, instead, where features advance at their own pace, where committee members can take their time to review a feature, and ask clarification questions, where minor fixes can be applied within days, and approved within weeks. A world where there's no pressure to ship now, because there's always the next opportunity in just a few weeks/months anyway.
That's a world with less pressure (hence less emotions and burn-out), and ultimately better velocity and quality.
And as far as I understand, that's just not possible with ISO.
13
u/crowbarous Oct 28 '26
If this argument made sense, it would be applicable pro-abolishment of any kind of quality control process, not just the ISO process.
But of course it doesn't make sense. If it's a feature I want in the standard, it should damn well not be so broken as to warrant NBs voting against it.
Previously it was kinda just assumed that anybody with a paper and lots of patience and persistence could eventually get their feature in, and the only failure mode is getting tired or burnt out trying.
This should not be so, and it is, hopefully, being shown it is not so in the end. (Albeit shown in an bit of an ugly way.) This, to me, motivates the ISO process, rather than being any kind of wake-up call against it.
11
u/germandiago Oct 28 '26
Why do you always focus so heavily on the bad sides or conflicts in C++ like modules (a big change) or Contracts or a bad vote?
This is all that has been done since C++11 (more or less):
https://cppstat.dev/
Is it really that bad as to propose to be so destructive? Because I read your comments and they lean towards a very biased negative view for C++.
However, C++ has delivered tons of value to its users since C++11 (and before).
9
u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 Oct 28 '26
A step 0 would be to convince ISO to: transfer/sell the copyright to another org and forego the income from one of their largest source of fees. You wouldn't happen to have a couple dozen million $ to make that happen, would you?
39
u/_a4z Oct 28 '26
Leave ISO to go where?
C++ has no owner in the sense that there is no Rust Foundation (Rust), Google (Go), Apple (Swift), Oracle (Java), MS (C#), ...
Also, how shall it go? As long as someone standardizes it within ISO, there will be an ISO standard, and there are still industries where that matters.
37
u/stick_figure Oct 29 '26
I keep saying the implementers (Clang, GCC, EDG, MSVC) should all get together and form their own WHATWG equivalent and tell the language dilettantes in WG21 to go pound sand. They don't have users. We don't need ISO to align implementations of features between vendors. Having non-implementers define the future feature set is a mistake.
4
u/johannes1971 Oct 28 '26
If we ask that question, I think we should also ask another: what would it cost to leave ISO? What resources will no longer be available? How much weight will C++ lose as yet another hobbyist language? Will it keep its guarantee of backward compatibility, or will a new generation take over that does away with all of that (and strip C++ of its incredible power of being something you can build something in that you do not have to rewrite every year, i.e. being safe to invest vast amounts of money in)? Will the same experts still show up? Will companies like Microsoft still support it?
Ultimately, the power to fork C++ is already available: just copy the standard, change what you like, and build a compiler to implement it. I'd give it a good chance that clang and gcc will keep contracts available under a compiler switch, so effectively that has already happened. What infrastructure will you set up to involve the rest of the community? Who determines who can take part?
Perhaps C++ would benefit from having a 'community council', where anyone can take part in discussion. This would replace the current mailing list, which is an absolutely toxic cesspit of negativity. I have no idea how we could stop this council from following the same route though.
26
u/pjmlp Oct 28 '26
I have a more existential question, as previous clashes have seen the withdraw from C++, like Apple and Google now focusing on their own languages on top of LLVM, and the reduced budget that Microsoft has allocated to Visual Studio, versus everything else listed on their developer blogs, how much will ISO C++ matter to the actual implementations?
I see a point where eventually the only relevant compilers left will be GCC and clang, with enough features only being implemented if there are volunteers to step in, as companies especially those with downstream forks seem to care more about LLVM and GCC as compiler infrastructure, than ISO compliance for their own platforms.
So will ISO C++26 be the turning point where many companies, especially in the AI age, don't care any longer what is happening, and consider existing standards good enough for the business cases where they need to use C++?
We see this in other ISO ecosystems, C99 mindshare wins regardless of what came later, most Fortran is 2003 or older, almost no one cares that COBOL now has OOP, most Ada vendors are still on Ada 95 (only AdaCore is driving the latest language features).
So at which point does WG21 lose relevance for the practitioners on the field, and like those other WG examples, keep designing language features that vendors will just ignore they are even there?
7
u/DuranteA Oct 28 '26 edited Oct 28 '26
I just hope all relevant implementations of reflection move on regardless of this stupidity. I really don't give a shit about ISO standardization, and neither does my company.
20
u/Sarduinot Oct 28 '26
All signs point to this happening with profiles next, too. That feature has a lot of hard-to-address concerns (requires unprecedented breakthroughs in static analysis, needs meatier annotations than expected, interactions between TUs running different profiles is tricky to reason about, and the authors’ last attempt at implementing a big feature that needs widespread adoption is modules.)
And to top that off, the next ballot will have people who are normalized to this being on the table since it happened for contracts. And maybe some people with every reason to not be super charitable to the profiles authors, because of how they handled contracts.
9
u/Affectionate-Soup-91 Oct 28 '26
Isn't this essentially about deciding who are more important group to support for C++? Because C++ being an ISO standard is one of the most important reasons why automotive, aerospace, medical, etc. companies have chosen C++; and the enormous effort to keep backward compatibility comes second?
2
u/chaos_pill Oct 28 '26
If you don't like the decision with contracts and fork it, the other side will still stick to ISO. Unfortunately, contracts is a feature with such little value, that most wouldn't care one way or another, as c++ already has plenty of half-baked ideas, and contracts is just one more.
2
u/tartaruga232 MSVC user, r/cpp_modules Oct 28 '26 edited Oct 28 '26
The problem is how decisions are taken. If a single person finds a blocker that nobody thought of before, then that single person is enough to block the whole feature. But if a lot of smart people have heard what that person said and they have discussed the finding, that single person should not have the power to block progress.
Let's look at an another example besides contracts: Modules. Modules are now implemented and I have used them in a non-trivial project for more than a year now. My understanding of modules has changed during that time. I think the feature is useful and useable. But some people here keep saying that the feature is a disaster. What if modules would have been pulled out in the same way as contracts? A lot of smarter people than me have worked on the modules feature (specification and implementation). We cannot debate on such features forever.
In the past I once worked in a telecom company. We had a multi-million dollar project. A very smart intern (software student from ETH) got the job to think about a new design model for the new software project. He was independent enough to think outside of all predecessor projects and without knowing of all the fights that happened in the past in that department. I was impressed by the model he found. We had two camps in the company. Pro and contra the new revolutionary software design. There was one feature which a lot of people were thinking was not possible to implement (a suspected blocker). I proved that it is possible to implement that feature with the new design. It was patented later.
I then worked on a design group for the new software. In the beginning, the group was very large. Later, we were only four people. We could not debate forever until all four agreed on everything. But if anyone found a blocker, they had been given time to hear what they had to say. If the three others were convinced that this is a non-issue, we moved forward without 100% consensus. We could not afford debating forever.
17
u/eyes-are-fading-blue Oct 28 '26 edited Oct 28 '26
Not everyone is emotionally loaded. If the committee does not add a feature I want in some iteration of the language, that's a minor hassle at best. I won't even think about it.
I must be honest, amount of emotions being shown for a feature like contracts shows the process is not the broken, perhaps the committee is broken. And here are my two cents, the fact that a broken feature like contracts made it so far also is surprising to me. I appreciate everyone's hard work put into proposals whether I like them or not, but this language is on the wrong path. I have disagreed with the library evolution for a long while but this mentality of giant untested features creeping into core language too.
And for the record, no one in their right mind would fork C++ for a feature like contracts. At least no in this universe.
10
u/pdimov2 Oct 28 '26
It's not ISO that's the problem. Sufficiently motivated attackers, with the creator of the language on their side, would have found a way to sabotage Contracts under any process.
3
u/Minimonium Oct 28 '26
Reflection will land in compiler no matter if C++26 passed or not.
A break in standard releases actually would give implementers a bit of a breathing room.
For the process, people really do not want to play NB games because right away I personally see a possibility to arrange NBs at least in two other countries that do not participate yet. That's just through my network, but surely there could be more. :)
Just needs a reasonable donation to promote usage of ASIO instead of S&R or some other non-sense.
0
u/VinnieFalco wg21.org | corosio.org 26d ago
I'm late to this post but I want to say for the record, there is no need to leave ISO. WG21 can work within the ISO framework and get better results simply by changing its workflow.
-1
u/UndefinedDefined Oct 28 '26
I think it doesn't matter anymore - leaving or staying - companies are turning their back at C++, and I really understand why.
-2
u/VinnieFalco wg21.org | corosio.org Oct 28 '26
ISO is not the problem. Reform is possible within the ISO rules. The convenor appoints the chairs. The chairs control the agenda, and call consensus. The convenor sets the rules. The rules can be changed. The current rules favor feature velocity over stability. And we are witnessing the results.
-1
u/pedersenk 27d ago
What if you are sick of juniors chasing newer and newer language features for the sake of being "modern"? I see some really pointless stuff during code reviews.
Language feature overconsumption, leading to reduced portability has been a big problem in the past. So frankly, I am glad to see ISO being more conservative these days.
Admittedly, contracts is a feature I would have preferred to see compared to some other things that have made it in over the years.
-4
u/Warshrimp Oct 28 '26
C++29 here we come! (If AI hasn’t eaten the world by then)
-4
u/lone_wolf_akela Oct 28 '26
For real, I guess we can just get gnu++26 and msvc++26 and call it a day, not much will really change.
-42
u/Additional_Path2300 Oct 28 '26 edited Oct 28 '26
C++ is dead anyways
Edit: you all know I'm right. Dead as in it's just way too complicated to keep shoe horning more crap into the language. I'm sticking at C++20. From there, maybe there'll be a new language to migrate to at some point.
3
u/[deleted] Oct 28 '26
[removed] — view removed comment