r/cpp • WG21 Member • Oct 24 '26

Balloting has completed for C++26. Unfortunately it was Disapproved

https://www.linkedin.com/posts/robertseacord_balloting-has-completed-for-c26-unfortunately-share-7519795139859517440-AOth/

Since the C++26 DIS has been disapproved, the next step is going to be taken in Buzios during the 2026-11 meeting. The committee will have to decide what changes to make (if any) and submit an FDIS (Final Draft of International Standard) for Balloting.

289 Upvotes

399 comments sorted by

View all comments

57

u/14ned LLFIO & Outcome author | Committee WG14 Oct 24 '26

Most of why I quit WG21 was due to the problems in processes and growing dysfunctionality in culture which I reckoned were going to culminate in failure of standardisation. I walked away, because too many had stopped listening. In my opinion too much it had become about winning at all costs, and damn the engineering which got in the way.

I am sorry it has got to this though. We nearly had a big problem with old pre-lite Concepts, but then leadership was listening and they pulled it before NBs were put in a position of voting the whole thing down. This time round, leadership probably were listening but weren't in a position to act before NBs voted the whole thing down.

It should never have reached this point, but it was going to and now there will be a big push to remove Contracts and put it back before the NBs where it probably will pass, though maybe only by majority and without unanimous consent, because TBH there is plenty more in C++ 26 which isn't good (indeed, pulling everything bar Reflection would be the genuinely brave thing for leadership to do). Just removing Contracts will tick the box, but it's not how standards should be done: standards are about standardisation. They're not about "whatever novelty is politically achievable". That latter thing is politics: we're supposed to be doing engineering where whatever we're standardising is supposed to be widely agreed across industry AND nation states as a perfectly acceptable engineering solution to a problem that is worth standardising across the planet.

If WG21 is failing to do that - and I think it is, which is why I quit and moved elsewhere in standards - then WG21 needs to deeply ask itself: what its purpose is for? If half of it doesn't want to do standardisation any more, that half should move on and leave the half who do want to do boring, thankless, grifting standardisation of existing things. Not inventing fancy new stuff by committee fiat.

It will require leadership to take some deeply unpopular decisions to get WG21 back on track. I would personally suggest that unless half the existing committee quit in protest, you haven't been decisive enough. I know exactly what I'd do, and I've said it all ad nauseum to WG21 leadership and I've been ignored, but for the record:

  1. If industry isn't doing something across that industry already, it doesn't even enter committee discussion at all. Filtered out at first stage.
  2. Every proposal needs to anchor itself in what games, finance etc are CURRENTLY doing and what their pain points are and how the proposal fixes those. If it doesn't fix a specific CURRENT industry pain point, filtered out at first stage.
  3. There is a STRICT priority list as follows: (i) whatever it takes to get closer to the bare metal (ii) aiding EXISTING tooling to check correctness better (iii) improving portability. If it's not on that list, filtered out at first stage.
  4. And finally, leadership very early on plans what will go into each standard. Those proposals are driven exclusively into each standard. Everything else is refused at a very early stage. Survival by attrition is permanently erased. Committee members work collegially together, instead of adversarily. Nobody shouts at each other any more because there is no longer any reason to shout.
  5. And actually finally, there needs to be an ABI breaking standard every twenty five years. It should be sign posted long in advance, and new and old ABIs supported for a decade after release. Without this the ecosystem can't evolve.

Those will be deeply unpopular and a majority of the committee would quit. Good! Standards is supposed to be boring. Votes are supposed to be foregone conclusions. If standards gets exciting, it's being done wrong, in my opinion.

11

u/rcseacord Oct 26 '26

WG14 will be meeting at the same time and location as WG21, if anyone wants to come visit us and see how we operate. As u/14ned suggested, we are generally boring AF.

39

u/lefticus C++Weekly | CppCast Oct 25 '26

I have no direct knowledge of anything about the C++ standardization process. All I know is what I know from interviewing members of the committee.

However, there is one point I would like to comment on, because it is an idea I see repeated often.

2. Every proposal needs to anchor itself in what games, finance etc are CURRENTLY doing and what their pain points are and how the proposal fixes those. If it doesn't fix a specific CURRENT industry pain point, filtered out at first stage.

I have been working as a trainer and public member of the C++ community for ~12 years now, and "games" and "finance" often get cited as being the most important / largest users of C++.

In reality they are a TINY portion of the users of C++!

Maybe about 5% of my work comes from those industries.

The main users of C++ are:

  • Scientific computing
  • Control systems / embedded
  • Physics modeling and simulation (see also Scientific, but I have reasons to put them in different categories that I will not go into right now)
  • Medical
  • GIS
  • Manufacturing / industrial (related to control systems, but again, I have reasons for separating them out)
  • Application developers

An important point I would like to make here, and I know I will get some flak for it. What do you notice about the two most cited industries over the others?

For gaming certainly and partially true for finance: performance takes precedence over correctness

What is true about almost every other industry that uses C++?

A bug can mean lives are lost!

How Important is Safety To Your Code?

I've been asking this question at conferences and workshops lately:

"Who here works in an environment where a bug could result in loss of life or limb?"

It's always the majority of attendees who raise their hands.

The vast majority do not work in finance or game development. They work in environments where they risk killing people if their code is not correct.

8

u/DuranteA Oct 28 '26

In reality they are a TINY portion of the users of C++!

Where's the data that confirms this "reality"? Your anecdote is insufficient.

I have a background in both HPC (scientific computing and physical simulation) and games, and I've never gotten the impression that the former is remotely in the same ballpark in terms of total development volume compared to the latter.

(Also, "safety", at least in the sense of safety-critical systems, is not nearly as important in much of HPC as it is in some of the other fields you mentioned)

7

u/interlockedxor Oct 26 '26

Are your claims based on surveying the individuals that solicit your services or attend your talks?

4

u/LugosFergus Oct 26 '26

Don't safety critical systems already adhere to industry standards? That includes restricting certain parts of the language. Also, wouldn't this mostly be legacy code? Seems risky to change.

23

u/Minimonium Oct 24 '26

I view your comment as quite detached from what actually happened here. I understand your main stance about standardization of existing things, and I agree holistically with it. But the circumstances of this disapproval, the WG21 "leadership" stance, the mechanism to pull stuff out, and the assumed NB circumstances as you describe are quite misrepresented.

The bigger problem in all this charade is not Contracts at all. It is not about Contracts. It is about Bjarne, who would be a part of a WG21 "leadership" no matter how nonsensical idea is.

By pulling all that foolery in the process where NB vote was historically a foregone conclusion, we're looking straight at the elephant in the room called the "Profiles". Not inventing fancy new stuff by committee fiat indeed.

14

u/14ned LLFIO & Outcome author | Committee WG14 Oct 25 '26

NB votes were never foregone conclusions. Behind the scenes mainly Herb did the rounds to smooth things out before a vote occurred. The IS was then massaged into something which would pass. Remember I was a NB head for many years. I was inside the sausage making only NB heads get to see. Other NB members and everybody else don't see that stuff usually.

You're right though that I cannot think of ever a time before where senior members of leadership actively toured the NBs asking them to reject a proposed IS. But I think you greatly underestimate the concerns the NBs had before that. I can only say something about the Irish NB - I had recommended a reject at our very first meeting. At least two others had very significant concerns, but they really wanted Reflection, so they wanted abstain. There was still a majority for accept at that point, but in later meetings as more people had deep dived into 26, our vote as a NB shifted.

I'm no longer in the loop, I resigned from everything C++, but I understand our NB was very similar to most others. Even the weirdly configured US NB. This was the least consensus proposed IS ever to date across the board.

11

u/c0r3ntin Oct 25 '26

In your model, you would need to define who the leadership is, and then you can decide if you still see leaderly qualities in that group, and whether you want to further their agenda.

In particular, support for ABI breaks, better support for embedded targets and bare metal (to take things from your list), would take a different set of folks than we currently have.

WG21 serves a wide array of needs and users so a top down approaches is not going to have the impact you might hope. Furthermore, WG21 work is on a voluntary basis (either an an individual or company level), so you can't coerce people into doing the work.

Standardizing industry practices is also a fairly limited model - Industry is good at showing needs but not solutions. Compiler extensions are a pretty poor basis for standardization (they usually work in narrow set of circumstances), and, on the library side, popular libraries should usually not be standardized, rather they should be…recommended.

Sometimes leadership is taking a leap of faith, even if that is scary, crazy, and likely to fail. Sometimes it's recognizing the existing solutions are perfectly cromulent and the best thing to do is nothing at all.

Willingness to do the work is an imperfect but not completely bogus way to gauge interest.

10

u/Minimonium Oct 25 '26

This touring is the problem.

It's very unfortunate that the system runs on spreading FUD by leadership (very hard to vote for when Bjarne himself calls the DIS an existential threat) than on actual technical discussion, alas the process is not equipped for that - like how the time Herb used ChatGPT to summarize the response to NB comments (I cannot quite recall the exact Irish NB comments if you could remind me?) because I suppose in the age where senior "leadership" exclusively vibecodes papers now reading comprehension became an appendage.

11

u/14ned LLFIO & Outcome author | Committee WG14 Oct 25 '26

Touring is politics pure and simple true. But it's also about listening to people, and more importantly, that people feel they are being listened to.

My opinion is if your technical discussion was done right, you don't need to do politics. Ergo, if politics is necessary, your technical discussion wasn't done right. If you're putting controversial things into a standard, your technical discussion failed period. Simple solution: don't standardise controversial stuff. Problem solved.

What irks me and I'm sure plenty more is there is no shortage of very uncontroversial things everybody agrees C++ needs. Problem is they're all boring, unsexy and extremely tedious to work upon. Unsurprisingly few want to do such work. Yet, if that work were done, it would materially improve the lives of all C++ devs on a daily basis. Why doesn't WG21 concentrate exclusively on that stuff? The actual real pain points for the average dev?

My own personal top three: Component Objects, standard packaging, gnatprove compatible correctness proving. You'll note they're all very closely related problems each with thirty to forty years of existing practice behind them. That is what standardisation should be, in my opinion.

13

u/c0r3ntin Oct 25 '26 edited Oct 26 '26

All of my approved papers had sustained objections. I never had the support of some "leadership" members. It's fine.

But if we are unwilling to make anyone unhappy, we don't make progress. I have sustained objections to reflection, a feature a lot of users are excited about. should we not ship reflection just to make me happy, or is that just when specific people have objections?

You also seem to assume everyone would be driven by technical motives alone. Contracts don't have a lot of impact on the language - they are rather self contained, unlike, e.g initialization that causes unfixable damages anytime someone mucks with it - and so I think it's fair to wonder if the length folks are willing to go to kill them is driven by purely technical concerns.

Ultimately any group of more than 2 people will have politics, but if some folks are unwilling to put boundaries to the length they are willing to go to to get their way - whether correct or not - it becomes incredibly hard for everyone involved to work as a group on technical problems.

4

u/14ned LLFIO & Outcome author | Committee WG14 Oct 25 '26

No it's more I think if the culture and leadership is there, the process CAN be mostly about technical motives and politics is minimised.

Look at the difference how your own proposals have been treated at WG14 compared to WG21. Yes some people objected, but I would have personally said they were more constructive about it. They certainly were far more respectful in the bar after than is typical at WG21 where some people can be quite unpleasant about other people personally. I also think how they say no early on is much better executed - saves everybody from wasting time on proposals which can't make it.

In the early days WG21 was a lot more collegiate and not so adversarial. I would ask if that might be a wise path forwards?

5

u/c0r3ntin Oct 25 '26

"leadership" refusing to accept any room decision after years of arguing, certainly sets an example.

Saying no early is tricky but WG21 certainly has a history of letting discussion go long enough that it becomes very difficult to say no. std::hive is probably an example of that.

We all should be better to each other. I think everyone involved cares deeply about C++ but in very different ways/perspective, which, over decades, accumulates resentment.

10

u/Minimonium Oct 25 '26

My opinion is if your technical discussion was done right, you don't need to do politics.

I admire your idealistic view, but anything non-trivial needs choices where any one would not be popular at least to someone. And any tradeoff is an ammo to the sore party to spread FUD among an uninformed crowd which unfortunately happened here. And if the sore party happens to have a lot of political connections - then any outcome of a settled technical discussion is now a massive controversy for no good reason.

Why doesn't WG21 concentrate exclusively on that stuff?

I honestly do not understand your view here then because I would assume it is fairly public knowledge (at least among WG21 regulars) that the "leadership" is hostile to anything tooling related?

The same "leadership" that actively pushes for so-called "profiles" now that completely rejects thirty to forty years of existing practice behind us, a completely amateurish pet project of people who fell behind modern CS research, and is actively vibe coding unsound code to present as a "proof of implementation"?

6

u/14ned LLFIO & Outcome author | Committee WG14 Oct 25 '26

No I understand entirely. I'm making the point that what the user base wants is pretty well understood. WG21 doesn't work on that stuff. They could if they chose, and you're right that's a leadership choice as well as a participant choice - most tooling work is unattractive to most potential participants.

I also absolutely agree that WG21 does far too much NIH driven novelty. If most of it were far better than industry practice that would be one thing. But most of it is clearly inferior. I don't know why that is permitted to continue. It's bad engineering and makes everything else, especially achieving widespread consensus and buy in, much harder.

5

u/Minimonium Oct 25 '26

WG21 doesn't work on that stuff

The "leadership" has a history of using the bureaucratic process to shut down any attempts to do it (the ecosystem papers case). Similar to what the same "leadership" did with Contracts. Similar to the same "leadership" that pushes for clearly inferior NIH work.

A third-party reader could assume by mistake based on your words that WG21 as a whole just does not have anyone interested in doing tooling work, or be under false impression that "leadership" somehow pushed for Contracts.

6

u/14ned LLFIO & Outcome author | Committee WG14 Oct 25 '26

It's not zero who want to work on tooling, correct. But as with investment in any tooling anywhere in the industry, it's always under supported given its return on investment.

Let me clarify so: tooling is even more thankless and grindy than most other parts of standards. A few people will do loads of work only to watch uninformed passers by shoot it all down with ignorant side sniping. So they give up and often quit WG21. Unsurprisingly, WG21 has become nearly devoid of tooling people.

You then end up with non tooling people imposing stuff from above. And the tooling implementers never getting around to implement it. And now things are being standardised that will never be implemented.

→ More replies (8)
→ More replies (3)

14

u/wlandry Oct 25 '26

1 & 2: This feels like only corporations matter. I strongly disagree. C++ is for everyone, even hobbyists.

3 & 4: You can not tell people what to work on. This is not an authoritarian dictatorship.

5: Corporations (see 1 & 2) seem to be the biggest opponents of evolving ABI. Hobbyists are generally much more OK with breaking changes.

10

u/Wonderful-Habit-139 Oct 26 '26

> Corporations (see 1 & 2) seem to be the biggest opponents of evolving ABI

And at the same time they're the least likely to actually upgrade their C++ versions and evolve their codebase. It's just a hamstring on the entire ecosystem for no good reason.

9

u/aeropl3b Oct 25 '26

C++ is for everyone. Talking to industry about problems at massive scale C++ is likely going to provide a significantly more detailed lens into issues than most hobbiest will be able to. Not to say small codes don't matter, they just see less corners of the language most of the time since 1 developer is not going to match 1000 developers total knowledge and style of problem solving with C++.

You can tell people what to work on, happens every day. In fact, by telling people what to work on, the features that get proposed will be more likely to find additional funding and support as the process continues. Random half baked ideas that reinvent concepts with entirely new semantics are not how that works. People use C++ because it is good at solving their problems. They enjoy C++ because it continues to evolve to solve their next problems.

Corporations mostly don't care about ABI. What they really care about is stability. Can they build a library with C++03 and C++11 and link safely. When they want a new feature, can they update language version without rewriting massive amounts of their code base. Etc. ABI is part of that. I agree, a very clearly communicated break, with very specific affected targets, and a well documented transition period is required to do so, but really it has been done before for auto_ptr, string, gets etc. Really, the process should beade easier to navigate, and batching these breaks rather than slowly rolling them out over time makes it much easier for people to move forward quickly and address breaks every 10-20 years rather than every 3.

12

u/Dragdu Oct 25 '26

After maintaining OS C++ library for 10 years, and writing C++ as day job for 13, I absolutely trust the enthusiasts more.

While they both invariably come in with issues like "I did 3 stupid things and it broke, please change eveything to support my stupid things", the enthusiasts have much better track record of listening to why the thing they are doing is stupid.

3

u/serviscope_minor Oct 26 '26

>Corporations mostly don't care about ABI. What they really care about is stability. Can they build a library with C++03 and C++11 and link safely. When they want a new feature, can they update language version without rewriting massive amounts of their code base.

You have it backwards, that's not ABI stability that's API stability. The latter is just a matter of rebuilding the world. These days if you don't have some sort of system where you can recompile things from scratch in a half way reasonable world I feel you are setting yourself up for real problems.

3

u/Wonderful-Habit-139 Oct 26 '26

> makes it much easier for people to move forward quickly and address breaks every 10-20 years rather than every 3.

Completely disagree. It makes it more overwhelming and even less likely for it to ever happen. Smaller breaks that can be done in a few PRs is much easier to handle.

→ More replies (1)

5

u/serviscope_minor Oct 26 '26
  1. Many people are using something like contracts already. There are an almost infinite number of assert-like macros. It's quite reasonable to argue that making a language feature to standardise a million ad-hoc and informally specified implementations, while also removing a number of serious pitfalls is just what the standard ought to be doing.

If the committee's goal is to be reduced to standardizing language features which are in use and not standard, then by construction you have a C++ committee which will never advance the C++ language. No one likes coding against vendor-specific features because it completely destroys portability.

Beyond that, contracts have plenty of precedent in industry in other languages. Likewise, reflection is widespread. What doesn't have use across industry is, say, constexpr structured bindings. So, as a result C++ will forever have this weird little hole where a weird mishmash of the language apparently drawn at random (if you don't know the history) won't work with constexpr. Is that really the future C++ you are advocating for?

2. Speaking of assert-like macros, that includes games and finance. But there's a lot more to the world of C++ than games and finance.

3. Why? I disagree with your list.

4. Who does the leadership get to write those proposals on its behalf? Second, rejection by attrition isn't erased. It's just as bad to have a feature dropped because a small group of vocal people won't ever say "yes". And finally, that requires the committee to see into the future.

But also it doesn't solve the problem: all you've done is punt it back one level. The leadership presumably needs to get their ideas from somewhere, which means submitted papers and etc. If people insist on fighting, then the fights will happen at the level of getting the leadership to decide what goes into the next standard. And if someone disagreed with that choice strongly enough then they can still vote the whole thing down at NB stage.

5. Couldn't we make it a bit more frequent? When MS broke the ABI every release, people just got on with it fine.

→ More replies (5)