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

Show parent comment

5

u/foonathan Oct 24 '26

The opposition to contracts has been very sustained and has presented a lot of arguments

All of which were heard and voted against. What else should be done?

Some people would similarly argue that the concerns of the minority haven't been addressed

They have not been adressed because the consensus of the room is that those concerns aren't concerning.

If I say "I'm concerned because contracts don't end world hunger, therefore I'm voting against contracts", I shouldn't be surprised if no changes are made to address my concerns.

Here we have 40% of national bodies which have voted no though

That doesn't mean anything though. Some NBs have hundreds of members, some have less than 10. 40% of NBs doesn't mean "40% of experts", because ISO being an international thing gives all countries equal votes. The minority against contracts just happen to be geographically diverse.

If the contracts opposition was smaller, or not attempting to present technical arguments I'd agree with you, but a strong sustained 20% of the vote leading to a failure to make it through this step of the process isn't super surprising IMO, and seems like an expected outcome of the ISO process as a whole

It's not 20% though. In plenary 12 people voted against and ~12 voted against in EWG. Of course you'll get a higher percentage of against votes if 100% of the people against show up in one room while most people in favor aren't there.

And of course you'll have sustained opposition if you keep raising the same points over and over and over again, just to be shot down every single time.

14

u/Wenir Oct 24 '26

All of which were heard and voted against

NBs also heard them and voted appropriately, why do you prefer one kind of vote over another ? 

8

u/foonathan Oct 25 '26

In the committee votes, it is one person, one vote. At the NB level it is one country, one vote. If a vote at the committee level is 100-12, the vote passes. If the 12 people happen to be in 12 different countries while 100 are in one, the vote is now suddenly 1-12. So obviously I prefer the first kind of vote.

6

u/kronicum Oct 25 '26

My understanding is that ISO does not have votes at the working group level, only at national bofiee level. Is that not true?

3

u/AKostur Oct 25 '26

There exists polls at the working group level to answer questions such as "This proposal is good enough to advance from SG14 to LEWG" (to use arbitrary SG groups), and then another to "Advance from LEWG to LWG", and yet another to "advance from LWG to plenary", and then another at plenary (though I think this is more formal than a poll) to incorporate the paper into the draft Standard. Then there was another plenary to advance the draft Standard to DIS and be sent out to the NBs for a ballot. (Each paper may take certain other paths, depending on the content. Perhaps passing through multiple SGs.)

7

u/kronicum Oct 25 '26

Yes, but those polls are something the convenor invented locally for that WG, not something that has any binding power at the ISO structures level

8

u/c0r3ntin Oct 24 '26

"sustained" just means having stamina, it says nothing of technical merits.

Coroutines, concepts, modules, reflection all had sustained oppositions.

16

u/James20k P2005R0 Oct 24 '26

One of the things that concerns me most personally is that with the benefit of hindsight, modules should never have been standardised in their current form. Coroutines also have a lot of problems and are very tricky to recommend in practice as well

I suspect part of the objections to Contracts is motivated by the fact that a lot of the big ticket C++ features we've gotten recently have turned out not to have landed in a particularly good state. The range library has also been very mixed

13

u/Minimonium Oct 24 '26

From what I see the most vocal opponents of Contracts were exactly the people who spearheaded the features you talk about here, never admitted to shortcomings, and further press on with the "profiles" amateurish nonsense.

I would maybe agree with people who would truly consider Coroutines, Ranges, and Modules a failure and decide to meaningfully improve the process. But to believe it's the motivation of the opposition is cognitive dissonance.

10

u/James20k P2005R0 Oct 26 '26

I would maybe agree with people who would truly consider Coroutines, Ranges, and Modules a failure

At least for me (and only me), I do personally strongly feel like these features are a failure in the sense that they could be a lot better. All of them make massive unforced mistakes - eg the syntax of ranges with hindsight should likely have been . vs |, because it massively reduces compile times. Coroutines appear to have made the wrong choice with heap allocations (and their high complexity), and modules are modules. <filesystem> is another mess which will never be fixed. The process of (not) getting basic fixes to <random> through was crazy

I do personally believe that the reason why they aren't better is that the C++ process itself prevents the best possible result, not because the people involved are lacking. The fact that C++ has no equivalent of Rust's nightly process, and that being put into a TS/whitepaper was seemingly seen as a death sentence for contracts, is crazy

decide to meaningfully improve the process

I've argued at length (well before the current debacle) that C++ needs to leave ISO and adopt a Rust style governance structure, so if anyone wants to make me BFDL of C++ I'll get right on fixing that 🙏

11

u/c0r3ntin Oct 25 '26

in addition to that - as you are completely right that it was different group of people objecting - and the people pushing for modules aggressively in wg21 were the same that ignored the tooling folks - the solution to the committee making mistake isn't to delegate the decision to groups of people with less expertise.

Modules were approved with an understanding that adoption would be painful. what was less understood at the time is that header units without mapping files were not really viable from an implementation standpoint and yet, that was added as an effort to increase consensus.

Any non trivial feature is going to have issues ( if only because all parts of the pipeline are resources constrained), and detractors.

And I don't want to say that WG21 gets things right, it often doesn't. I am just advising against the hope that different group makes better choices.

NB pressure got us wchar_t, digraphs, garbage collector.

5

u/Dragdu Oct 25 '26

NB pressure got us wchar_t, digraphs, garbage collector.

Now that's some track record.

7

u/aruisdante Oct 24 '26 edited Oct 24 '26

Yes, the current state of things seems to be quite literally the definition of tyranny of the minority. Not the DIS failing, that’s obvious lack of consensus, all the other votes along the way, and things like how the American NB wound up at “abstain.”

Sustained opposition isn’t repeating the same argument over and over and over till you wear down the opposition. It’s continuing to present new information on why it’s wrong, and continuing to propose new alternatives. Just stubbornly refusing to budge is being intransigent, and that’s how you get fractures in a community rather than compromises. I’ve already heard that some NBs are seriously considering forking C++ if 26 can’t seem to move forward as an ISO standard as they’ve lost so much faith in the process.

My colleague and I voted against contracts in Tokyo 2024 based on not having a way for the author of a contract to enforce they are actioned, always, and in safety critical that’s an important property to have. But there was clear an obvious consensus that that wasn’t enough of a problem to stop shipping, and so we haven’t voted against since there’s no new information presented that shows why that’s any more of a problem now than it was then. If people don’t accept “we don’t see things the same way as you, and we never will” as a possible outcome of consensus building, you will never ship anything. True consensus, where everyone agrees, can only be reached without destroying working relationships if time is unbounded.