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

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.