r/cpp • • 19d ago

Herb Sutter: When a language’s creator and its owners strongly disagree: C++26 post-DIS, historical experience, and paths forward

https://isocpp.org/files/papers/P4454R0.pdf
184 Upvotes

213 comments sorted by

View all comments

57

u/James20k P2005R0 19d ago edited 19d ago

I feel like the idea that people primarily voted against this standard because Bjarne was against it is a bit of an unproductive position. There's a lot of technical information about why at least some people don't like contracts, and this document seems to be asking us to set that aside as not being the reason. This just seems stoking the flames by trying to make assumptions about people's intentions

A strong WG21 consensus isn’t sufficient for NBs if they know that Bjarne doesn’t accept it, at least with how WG21 members communicated with NBs during this ballot. In practical terms, this time the NBs have chosen to empower his dissent as a de facto veto

The problem with this narrative is:

  1. It ignores the extensive technical work that the anti contracts side have produced, which has resulted in improvements to the standard over many many years
  2. Many of the people on the anti contracts side have expressed an opinion that they'd tolerate contracts if technical changes were made, likely enough to get the DIS through
  3. Its chucking fuel on the fire, because its making assumptions about people's intent that we cannot possibly know are true. Some members strongly disagree with this characterisation from what I've heard

This seems pretty dangerously close to assuming bad faith participation, because what herb is tiptoeing around the line of stating is that the national bodies (and the members within them) are not telling the truth about the objections they're making, rather than Bjarne's opinion just happening to line up with that of some within some national bodies

None of the rest of us is Bjarne or has his influence with the NBs. I think it’s clear that if Bjarne had instead told NBs the DIS should be approved, and there had been no other difference, the DIS would have succeeded as always

Bjarne was not alone, but his voice was the only one that changed the outcome:

For me the most credible voices have been the people who've been producing high quality papers on both sides. This would seem to dismisses the (extensive) technical work everyone has done here. I've read.. far too many papers on contracts at this point, including the slop (sigh), and it seems very strange by anyone involved to assume that a single strong voice swayed the NBs. You can see from the mailing that at least a few people have pretty strong views that won't be changed!

3 And, to my knowledge, only one person (not I) reached out to other NBs in response, to lobby in favor of the DIS.

This to me is one of the biggest issues with this paper: Its entirely speculation. We have absolutely no idea broadly what happened. This information is literally unobtainable, because people's private emails are a closed door. This seems like just chucking fuel on the fire when we have no idea what actually happened. I've so far heard 3 different versions of the same story about a specific part of the process so far, all of whom had direct knowledge of the events in question, and all of who said wildly different things. Apparently even the people directly involved and participating don't know what happened here

The NBs weighed WG21’s 90% consensus and Bjarne’s opposition and made their decisions.

This is the most odd part of the document for me. It doesn't even caveat this to a few small NBs, or claim that it just tipped the vote over the edge. We already know that some NBs objected to the standard prior to the DIS. I could understand if we were simply saying that Bjarne swayed the small NBs, but on the other hand: we had a lot of abstentions to the DIS vote as well, so the consensus overall wasn't strong

As people have been pointing out, features have been added and removed against the objections/support of Bjarne in the past. I think the worst you could assume is that the DIS failed simply because of geography, but this just seems like a stretch

20

u/Minimonium 19d ago

This to me is one of the biggest issues with this paper: Its entirely speculation.

Do note by whom this paper was reviewed. I assure you, Herb is not ****ing around. :)

13

u/tartaruga232 MSVC user, r/cpp_modules 19d ago edited 19d ago

I feel like the idea that people primarily voted against this standard because Bjarne was against it is a bit of an unproductive position.

Not at all. For outsiders like me (I'm just a C++ user) this information explains pretty well, why the C++26 standard failed. Herb's explanation makes sense.

Bjarne is still a major force in the C++ community. Looks like we have to accept this as a matter of fact, that his lobbying was a major force. I don't think his lobbying was done in bad faith. That's what he truly believes and he managed to convince the NB's. His voice obviously has strong weight.

Probably this previously helped in other cases to accept the standard, like C++20 with modules, which I think is a good feature. Others still continue to claim that modules are a "disaster", although they have been in the standard for quite a while now and implementations in compilers have made progress. Adoption of modules is hard, but this doesn't mean the feature is bad. I'm using it. What's the point in continuing to tell modules are a disaster? Some people even seem to be hinting at that the "modules disaster" (which isn't a disaster) should not be repeated with contracts. That comparison is ill thought.

7

u/pjmlp 19d ago edited 19d ago

You feel that way with modules because as far as I am aware, you only target Windows with Visual C++.

Every other setup still has problems even compiling a simple hello world.

Yes, if we ignore the broken Intelisense since Visual Studio 2017 with module prototypes, which was used as original proposal for C++20, the C++20 modules experience with Visual Studio 2026, alongside MSBuild, is quite good.

The same cannot be told for everyone else, and outside Visual C++, header units might never be fully supported, for example.

Given that Windows has very little presence outside desktop and XBox console workloads, this is quite relevant pain point regarding modules adoption, across Nintendo, Playstation, cloud development, all the embedded OSes in the market, mainframes and micro computers.

3

u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 19d ago

if we ignore the broken Intelisense

I haven't tried using modules in a while - is Intelisense still broken?!

8

u/pjmlp 19d ago

Yes, because it depends on the EDG frontend used by Visual Studio, so you still get red squigglies even though it might compile just fine.

The only info we have after EDG ramped down and went open source is "stay tuned" for upcoming improvements.

5

u/-TesseracT-41 19d ago

Okay, so nothing has changed since 2021, which is when I tried using modules for a project.

3

u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 19d ago

Ok, so using them is still not an option. Last time I experimented to port one of our codebases to being modules-only I ran into multiple ICEs and noticed the severly downgraded user experience ...

4

u/Rob-190 19d ago

You need to report them. I've had the same issue with modules causing ICEs, especially on VS2026. Took me a long time to create a small enough example that showed the problem but when I reported it, Microsoft fixed it. Turned out my code was wrong (incorrect ordering of imports vs. includes). I've reported ICEs before and almost every time it turns out to be a code issue. Of course they need to be fixed but you can always check with Claude code etc.

2

u/tartaruga232 MSVC user, r/cpp_modules 19d ago

Did you report your ICE's? I haven't seen any ICE anymore certainly since the begin of 2026. Currently using MSVC Version 19.53.36919 for x64 (PREVIEW).

1

u/manni66 19d ago

Every other setup still has problems even compiling a simple hello world.

That's simply wrong. You can even use "import std" in "hello world".

→ More replies (9)

16

u/mort96 19d ago

Nobody here is saying that people primarily voted against this standard because Bjarne is against it. Sutter argued that the NBs primarily voted against it because Bjarne is against it and lobbied against it. This seems correct, assuming Sutter isn't lying and the lobbying efforts to influence NBs has primarily been either from Bjarne or from people citing Bjarne's opinion.

7

u/joaquintides Boost author 19d ago

Nobody here is saying that people primarily voted against this standard because Bjarne is against it.

Herb is saying exactly that:

“The NBs, exercising their own independent judgment with the information they were given, chose on this ballot not to accept WG21’s consensus if Bjarne personally strongly disagreed, and that’s important new information for WG21.”

(My opinion: this claim is unsubstantiated.)

9

u/mort96 19d ago edited 19d ago

The quote removed my emphasis, which changes the meaning. I was contrasting the votes of the NBs against the votes of people in general. Sutter's claim is that the NBs voted against it due to Bjarne's opinion, not that people in general (i.e committee members, the public, ...) voted against it due to Bjarne's opinion.

I'm inclined to believe Sutter, Stroustrup and Davidson's word on that matter.

5

u/James20k P2005R0 19d ago

I'm inclined to believe Sutter, Stroustrup and Davidson's word on that matter.

The thing is, we don't need to believe what they're saying on this - we can simply ask the people involved who're part of those national bodies. As far as I'm aware, they do indeed have objections to this characterisation, eg I'm sure the spanish NB would pretty strongly object to this

12

u/c0r3ntin 19d ago

Unfortunately there are a few NBs who never submitted NB comments, including for 26, and then voted against the FDIS, using Bjarne discontent as part of their motivation. Given these folks don't send people to meeting it's actually not trivial to ask them.

9

u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 19d ago

The Spanish NB, members or otherwise, was not one of the ones lobbied.

3

u/James20k P2005R0 19d ago

As far as I'm aware, the NBs involved vote on a majority basis as to whether or not to accept or reject the DIS. I'm not sure if characterising this as NB objections vs people objecting draws much distinction. I mainly mean that Herb seems to be assuming that Bjarne was able to sway people into voting against in the NB votes, purely on the basis of his influence

Some of these NBs had objections well before the DIS vote, and the members involved have published extensive technical reasoning as to why they object to it, so I'm not sure it holds up. I know a few committee members at least that would directly object to this characterisation

lobbied against it

This assumes that the lobbying had any affect though, which we can't possibly know

14

u/jayeshbadwaik 19d ago edited 19d ago

At Croydon meeting, there were certain NBs who objected. The DIS vote would have passed despite their objections.

The DIS vote however didn't pass. And it didn't pass because multiple new NBs changed their decision and voted no. Or at least communicated their objections much later than CD ballot passing.

This change of decision happened between Croydon's CD ballot and DIS vote. And this specific fact is what is unprecedented in all of this.

All through C++11 and beyond, the implicit idea was that NBs would bring all their objections in before CD ballot and then, irrespective of what happens to objections, vote with consensus of the CD ballot.

Even so, some NBs voting no, while also unusual would not have been a show blocker. It is the fact that other NBs decided to make their intention of voting No only after the CD ballot that has thrown spanner in all the works.

The real dilemna now is, "When can WG21 be certain that a DIS vote passes?"

The answer is not

  1. When WG21 had consensus, because WG21 had consensus there
  2. The answer is not "when we have majority of NBs saying yes at CD ballot". Because even that was satisfied at Croydon.

And so there's no real answer to that question apart from Herb described extremely well. And this is why there's a big confusion about hoe to proceed.

15

u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 19d ago

This assumes that the lobbying had any affect though, which we can't possibly know

I know, from direct evidence.

12

u/Minimonium 19d ago

This assumes that the lobbying had any affect though, which we can't possibly know

I kinda forget that you no longer have access to the lists. We do know.

I do not understand why would you assume Herb speculates. He is the person who kinda built the current process, the C++ today as we know it can largely be attributed to him.

I know he did not write this paper lightly. In my opinion it's incredibly neutral and still tries to keep the decorum. The people who keep playing games with the process then pretend nothing is happening publicly (like Sankel) - forget that everything they do is seen by everyone.

The process is being ruined right now and people still prefer to keep playing games.

5

u/epage 19d ago

I feel like the following needs exploration

Bjarne suggested here, when reviewing this paper, that WG21 similarly separately track positions of NB heads, imple- menters, and long-time contributors, and that his own position is formed by listening also to those

So Bjarne's position isn't just "the creator's position" but pulse on overlooked groups.

4

u/serviscope_minor 19d ago

> I feel like the idea that people primarily voted against this standard because Bjarne was against it is a bit of an unproductive position

It's also not what the paper says.

6

u/James20k P2005R0 19d ago

The NBs weighed WG21’s 90% consensus and Bjarne’s opposition and made their decisions.

A strong WG21 consensus isn’t sufficient for NBs if they know that Bjarne doesn’t accept it, at least with how WG21 members communicated with NBs during this ballot. In practical terms, this time the NBs have chosen to empower his dissent as a de facto veto

Its hard to read this in any other fashion. It doesn't say that a few NBs were swayed by bjarne, its saying that (apparently) all the national bodies made the decision to embody Bjarne's objection to the standard. That they solely picked between WG21's consensus and Bjarne's objection, and picked Bjarne. This just doesn't seem correct

3

u/wyrn 19d ago edited 19d ago

Its entirely speculation.

Not only that, the speculation is labeled as declarative statements of fact rather than hypotheses or opinions. Sure, some speculation will be better informed than others, but it helps to give arguments the correct epistemic weight.

A strong WG21 consensus isn’t sufficient for NBs if they know that Bjarne doesn’t accept it

Ngl, to me this reads like Claude reasoning.

→ More replies (1)