r/cpp • • 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:

  1. Contracts are pulled, fight to see another day [and/or leave ISO, and/or fork the language].
  2. 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.
  3. 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."

13 Upvotes

153 comments sorted by

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.

7

u/13steinj Oct 28 '26 edited Oct 28 '26

The nature of the standardization process, on both ends, is the exact cause of the problem. Votes both in WG21 and SC22 are tainted. In WG21, it is well reported that people vote in groups and politic to get enough people in the room. In SC22, same thing, just as to how the NB sends its vote.

It's arguably acceptable to have one of these methodologies, but the two in tandem are in direct conflict with each other.

This is only the most recent in a long line of wakeup calls.

E: typo

13

u/kronicum Oct 28 '26

Votes both in WG21 and SC22 are tainted.

The problem is the locally invented "vote" or "poll" in WG21. It is not something that ISO recognizes, and it was a mistake to make people think they were voting (as in exercising democracy or something) and that those votes had any meaning beyond the convenor's entertainment.

5

u/13steinj Oct 28 '26

Absolutely! But at the end of the day, it appears this kind of thing is what people actually want.

-3

u/kronicum Oct 28 '26

what people actually want.

Who are these "people" you're spokeperson of? How did they appoint you?

9

u/13steinj Oct 28 '26

I said appear. I'm not a spokesperson. This doesn't have to be hostile, I'm asking open questions.

i won't share who, but someone told me the concept that SC22 could override the plenary vote on concepts is a matter of "corruption." If you look at the recent threads on this topic, it appears implicit that at least some people are strongly in favor of the polling method (maybe not the specific methodology, but multiple people point to the polls as the measure of consensus).

-3

u/kronicum Oct 28 '26

I won't share who, but someone told me the concept that SC22 could override the plenary vote on concepts is a matter of "corruption".

Do you genuinely not see what is wrong with these statements? 1. Hear say. 2. Talking of "vote" when there is no "vote" under the rules said plenary was held.

That is not asking open questions.

11

u/13steinj Oct 28 '26

It is not my right to openly share private conversations? This is not some high court where you are judge, jury, prosecutor, and executioner?

It does not change the fact that based on the previous thread people clearly are were under the impression that these straw polls (which, people would colloquially call a "vote"), are, not necessarily sufficient, but a strong indicator of how the DIS ballot would go.

I feel as if you're just taking an unnecessarily hostile path because something I've said is some great offense. It's perfectly fine to disagree, think my idea is stupid even and say so. But we don't have to be disagreeable. If you feel so steongly that ISO is not the problem, you have a free and clear stage to express that and then every time an idiot like me comes along, can point them back to said explanation, but instead you're focusing on attacking me as a person, and the very notion that people have a misunderstanding of what weight the polls have.

4

u/aruisdante Oct 29 '26 edited 29d ago

  It does not change the fact that based on the previous thread people clearly are were under the impression that these straw polls (which, people would colloquially call a "vote"), are, not necessarily sufficient, but a strong indicator of how the DIS ballot would go.

Indeed. While most participants probably knew intellectually that technically speaking the polling was in no way binding, it was considered something of a formality that the final voting would follow the path the technical groups polled on. You need only to see what happened in INCITS for an example of this being brought starkly in relief to result in an “abstain” vote.

Much like a lot of the world right now, I think many things people took for granted as norms despite not actually being hard laws are being challenged due to increasing inability or unwillingness to compromise.

0

u/kronicum Oct 28 '26

It is not my right to openly share private conversations?

Nobody said you didn't have rights to blurp private conversations. The question was: "Do you genuinely not see what is wrong with these statements?".

Many people being wrong doesn't make them right.

22

u/triconsonantal Oct 28 '26

As a bystander, I'm also being entertained if it's any consolation.

1

u/tcbrindle Flux Oct 28 '26

I don't think this is accurate.

From what I understand, votes in the plenary session (held at the close of a meeting) which result in changes to the working draft are official from an ISO perspective.

The straw polls taken at the working group stage are just that -- but they provide guidance to both paper authors and officers of the committee as to which motions should be presented for voting at plenary.

5

u/kronicum Oct 28 '26

votes in the plenary session (held at the close of a meeting) which result in changes to the working draft are official from an ISO perspective.

Two things:

  1. Even the WG21 convenor insists not calling them "vote" (because they aren't from ISO perspective), they are called "poll" and they get touchy about it.
  2. Can we have a chapter and verse citation of the ISO rules that say those "votes are official from an ISO perspective"?

4

u/smdowney WG21, Text/Unicode SG, optional<T&> Oct 29 '26

While from one standpoint, the only thing ISO requires is the Convenor transmitting the draft. We are not required to poll the way we do, but ISO does have opinions on how those polls are run and has instructed WG21 to make changes in how they run.

Structurally, the Plenary meeting is where WG21 conducts all the official business, and the process is not radically different from other WG.

11

u/SlightlyLessHairyApe Oct 28 '26

I think it’s the nature of a language that refuses to ever break anything that previously shipped.

If you take that as your assumption, then it is reasonable to have a process where a proposal must overcome all objections. There is no option to say, well, we’ll try it like this, and if any of these objections pan out, the next version will hard deprecate this and pivot.

15

u/pjmlp Oct 28 '26

The irony is that there have been indeed breaking changes, like removal of exception specifications, C++11 GC and a few others.

-6

u/TheoreticalDumbass :illuminati: Oct 28 '26

i vote for 13steinj as benevolent dictator of C++

14

u/13steinj Oct 28 '26

Username is highly accurate.

59

u/James20k P2005R0 Oct 28 '26 edited Oct 28 '26

I would disagree with this. I think the biggest issue that wg21 has IMO is that its a combative vs a cooperate process

In ISO, someone writes a proposal, and then has to get it past the committee. Its fundamentally the author vs the room, and usually entails 1 or a very small group of people trying to push a proposal past the committee. It takes potentially a decade of work to even get a minor bugfix through because of the way that the process works, against a completely non fixed group of committee members

In theory those members should all be strictly technically evaluating proposals and only evaluate it on technical criteria or recusing themselves if they haven't done the work instead of making lazy hasty assumptions, but we all know what people are like

So you end up with this situation where it simply isn't the rooms responsibility to get a proposal through. Fundamentally nobody in the committee has any ownership over any of the proposals, other than the author themselves. The committee finds problems, and one random person has to fix literally everything

I think there's a variety of problems here that keep leading to this same mess which is directly a fault of the system itself:

  1. The committee often gives authors a set of requirements that physically cannot be concretely realised in reality. Safe C++ vs profiles is a great example of concrete + tradeoffs being rejected, vs promising the universe. No ABI breaks, must solve all the problems with no tradeoffs, and deliver me cookies and milk
  2. This is because it isn't the room's responsibility to actually follow through on the requirements given and develop the proposal
  3. The author then goes away, and produces the best result they can with those requirements, eg no ABI breaks
  4. The feature then ends up compromised as a result
  5. People then have strong opinions that the feature is compromised, which is true
  6. I've frequently seen proposals where the arguments really boil down to "Would this feature be better with a different set of imposed base requirements?". Contracts is an example of this, which is why there's often such a disconnect between the authors, and people critiquing it I suspect

I think often nobody's wrong here, and comes from the basic fact that the room itself isn't developing the proposal. I suspect a lot of this would be fixed if the same people critiquing the proposal were also developing it, ie if the room itself adopted a proposal to develop further. Want to crap on something? You're also being volunteered for work, and can get involved

With Rust I could go get involved and help develop features actively and become part of the team. That isn't really possible with C++ features in quite the same way

23

u/Minimonium Oct 28 '26

The committee often gives authors a set of requirements that physically cannot be concretely realised in reality.

My favorite is Spicer's:

  1. The feature must not decorate every pre/post/contract_assert. It should be "component"-scoped.
  2. The feature must not be controlled by build flags or "any kinds of sources".
  3. Yet, the feature must be configurable, explicitly, by the author of code.
  4. And the cherry, the feature must correctly detect which definitions belong to which "component", but not based on modules.

6

u/James20k P2005R0 Oct 29 '26

There seems to be two broad camps that disagree with contracts, and one of those groups I disagree with more strongly than the pro contracts people heh

13

u/Minimonium Oct 29 '26

I'd agree with this perspective.

By no means Contracts are a perfect feature, but evidently the "not good enough" or "has flaws" was not enough to rally the people to push back than "supply chain attacks" and "existential threat" that Bjarne chose.

I wanted to see a discussion on technical aspects. Instead we got firehose of LLM generated nonsense papers claiming false things and their authors pretending that putting their name on it means nothing.

This whole story irrevocably ruined reputation of a lot of "old guard" people in my eyes. Not like any of them care anymore about reputation as blatantly low effort sloppy papers are written by Bjarne himself now as well as others (for some reason I expect more from Michael Wong). Zero decency, no shame, no self respect, no professional ethics.

3

u/James20k P2005R0 29d ago

This whole story irrevocably ruined reputation of a lot of "old guard" people in my eyes. Not like any of them care anymore about reputation as blatantly low effort sloppy papers are written by Bjarne himself now as well as others (for some reason I expect more from Michael Wong). Zero decency, no shame, no self respect, no professional ethics.

This is what's absolutely surprised me as well, I can't really believe that some of these people have been attaching their names to the papers in question

Its weird because (obviously) I think there are good arguments you can make around contracts, but it seems to be being frequently publicly presented in the worst possible way

4

u/13steinj 28d ago

I think the people involved, in practice, their reputations are mostly unaffected. Bjarne (and Gabriel?) were recently hired by SIG, long after this drama was known about (amongst those heavily involved enough in the community). Not to be an ass, but it's kinda obvious that SIG did this as a bit of an advertising push / trying to change their reputation after they got a new CTO. It's the same reason they went all out on CppCon this year.

The average C++ developer, and employer, could not care less and will still be star-struck.

Of my organization with at least dozens of cpp devs, I think I'm the only one that has actually read any proposals in this standard's cycle, besides some that have in some part read the Reflection proposal.

1

u/Minimonium 29d ago

Its weird because (obviously) I think there are good arguments you can make around contracts, but it seems to be being frequently publicly presented in the worst possible way

Exactly my view on it as well

12

u/ABlockInTheChain Oct 29 '26

blatantly low effort sloppy papers

As an observer who is not directly involved the only conclusion I can draw from this process is that the actual reasons for opposing contracts are largely not being disclosed publicly.

The pro-contract papers are meticulous and contentiously reasoned. That doesn't make them right but is strong evidence of good faith.

The anti-contract papers contain a small number of well-reasoned concerns drowned in a sea of papers that are low-effort, consist entirely trivially-dismissable objections, or sometimes are entirely devoid of intellectual content at all.

The people writing those low quality papers are not dumb, so to me the most parsimonious explanation is that smart people are producing dumb papers because they are unable or unwilling to articulate the real reasons for their objection. If they produce high quality papers expressing good faith concerns those concerns might be addressable but they don't want the concerns to be addressed.

27

u/aruisdante Oct 29 '26 edited Oct 29 '26

Totally agree with your analysis. I think “adversarial” vs. “collaborative” is a great framing.

But I will point out that “maintain the status quo” is the objective of a process like ISO’s. Like, the system is actively designed to prevent a single person with unbounded energy from having outsized influence on outcomes. No amount of “willingness to do the work” is enough to get a proposal through. It’s an intentionally political process, where you have to do the endless social aspect well enough to essentially “move the status quo,” since at the end of the day it’s votes in the room that get it though, not actual technical merit, implementation readiness, or any other technical quality. Of course there’s supposed to be correlation between these things, but, as you said… people. We’re seeing the politics side play out in what are essentially parliamentary procedure tactics being used to change outcomes.

Maintaining the status quo is generally considered beneficial for an international standard. Standards lose their utility as standards if they change too dramatically, too frequently, and too much at the behest of a small group of people.

The question becomes more if “international standard” is really the correct model for a programming language in this day and age. The barrier to entry for creating a programming language, and usefully using it, has dropped significantly. AI potentially makes churn less scary for companies if it means more robust core functionality. Perhaps one of the other models followed by Python, Rust, Go, etc really is a better fit for the business environment we’re in today, rather than the one of the 80’s and 90’s where having an ISO standard was perhaps more meaningful.

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.

62

u/STL MSVC STL Dev Oct 28 '26

Nobody who works on implementations bothers with the published Standards. We all refer to the latest WP (or occasionally historical WPs).

Source: Am implementer. The last time I bought a Standard was when I was in college and didn't know how it worked.

12

u/13steinj Oct 28 '26

I'm actually surprised by this from two perspectives:

  1. If implementors don't have a true published copy on hand, don't they miss things between final draft and publication?
  2. So who's paying ISO supposedly millions of dollars in fees, if not implementors?

42

u/STL MSVC STL Dev Oct 28 '26 • Bravo

There are no substantial differences between the final draft of a standard and its official version (boring editorial stuff at most). The latest WPs have more CWG/LWG resolutions applied so they're better. We rarely need to look at older versions, typically only when wording has been removed.

Even when implementing C++23, I am generally happy to look at the latest WP with in-progress C++26 features, since I can just ignore the future stuff. Only rarely is this an issue and I need to rewind time, and even then it's just to an older WP.

ISO probably makes their money from activities other than publishing C++ Standards.

This is a basic fact of how all implementers work (MS is not special here). I gently suggest that if you weren't aware of it, perhaps your suggestions regarding ISO involvement in Standardization are "not even wrong". That is, you appear to be under the impression that ISO is somehow responsible for making things bad, and if only ISO weren't involved, things would be better. That doesn't seem to be the case to me as an implementer.

4

u/13steinj Oct 28 '26 edited Oct 28 '26

ISO probably makes their money from activities other than publishing C++ Standards.

This appears to be in direct conflict witb what /u/grafikrobot said elsewhere. Just expressing that I don't think both of you can simultaneously be correct. (E: For reference, my expectation was that most implementors use some draft, and that vendors who are companies also pay for whatever they think is enough copies of the official standard, before grafikrobot expressed that ISO makes a decent chunk of cash over the cpp standard).

I gently suggest that if you weren't aware of it, perhaps your suggestions regarding ISO involvement in Standardization are "not even wrong". That is, you appear to be under the impression that ISO is somehow responsible for making things bad, and if only ISO weren't involved, things would be better. That doesn't seem to be the case to me as an implementer.

I'm not wearing an implementer's hat here, just a passionate C++ developer's.. Should implementers have full say or increased power? Not accusing, just an open question. At CppCon, I forget who, but multiple times the phrase "you [the community] shape the language." I wouldn't say that's fully accurate.

I think there are a variety of problems and the majority stem from within WG21. I don't think most of them are suddenly solved if we're not under ISO. I wouldn't even claim that ISO is directly responsible either. However we tangibly get some immediate improvements:

  • Social control: True self governance, rather than (as evidenced by recent events) power at the SC22 level. Including an internal CoC that's actually/reasonably enforceable.
  • Community: The ability to set a lower barrier of entry, for increased participation and diversity.
  • Legal peace of mind: The community never has to worry about legal disputes about proposals or drafts again (IIRC this has come up more than once)
  • Technical process control: for example: enforce implementability concerns to surface throughout the process (by enforcing some "implementors must attempt at X stage before release).

14

u/no-sig-available Oct 28 '26

Community: The ability to set a lower barrier of entry, for increased participation and diversity.

Herb Sutter reports 200 people from 28 countries attending this summer's standards meeting. How much larger do you want the committee to be?

Too few proposals doesn't seem to be a problem.

0

u/13steinj Oct 28 '26

It's not about the amount of proposals, there's plenty of participatory work that is not submitting a paper. It's about collecting a diverse set of voices and different opinions.

17

u/STL MSVC STL Dev Oct 28 '26

This appears to be in direct conflict witb what u/grafikrobot said elsewhere. Just expressing that I don't think both of you can simultaneously be correct.

I've worked on the Standard Library since 2007, and I believe I am correct.

grafikrobot expressed that ISO makes a decent chunk of cash over the cpp standard

I don't know what ISO's financials look like, but I would be astounded if that were the case. (ISO is huge and covers a lot of engineering standards in other disciplines; they may make money selling those. They also collect membership fees.)

8

u/aruisdante Oct 29 '26

I think in order to actually say you’re ISO compliant at least a copy of the real standard has to have been bought at some point by someone on the implementation group.

But yeah, otherwise, I absolutely agree. I’ve literally never heard of anyone working on a stdlib actually buying the final published draft, it’s always done off the freely available working drafts since all the technical details are functionally identical. I’m sure it’s happened, but definitely isn’t the norm. Companies definitely aren’t ponying up ISO standard fees for their members to contribute to OSS libraries, particularly not after already paying the fees to be in WG21 in the first place.

4

u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 Oct 29 '26

ISO, and related NBs orgs, make a fair amount of money from the membership fees (for those that charge fees). But it's not so much of that money or money from sales of the standard. That's not how copyrights are used (or abused depending on your perspective). Most times a copyright is evaluated on potential profits from it as it's considered a pure asset. I.e. ISO is encouraged to try and get as much value from selling it as it can. And potential buyers will evaluate how much they could make from a purchase and their future use. Hence it is likely that such an exchange would be substantial. As there are multiple potential avenues for some new owner to make more money than ISO currently makes "from" it. Just imagine.. If a new owner decided to charge a per-use fee for the label of "Standard C++¨ (which would be within their rights to do so).

3

u/jwakely libstdc++ tamer, LWG chair Oct 29 '26

vendors who are companies also pay for whatever they think is enough copies of the official standard

lol, no

10

u/kronicum Oct 28 '26

Yeah, if you don't know what the problem is, how do you know you have a solution relevant to the problem?

15

u/stick_figure Oct 29 '26

Correct, we actually don't need ISO to sign off on anything. If the draft stays the draft, and -std=c++26 does what the draft says it should, and it never gets stamped by ISO, who cares? It's done. The only one who suffers is ISO.

1

u/toggles03 27d ago

I appreciate this might not be something you can answer, but has there ever been talk of the major implementers (MSVC, Clang, GCC) getting together to take over the process?

I think it would honestly be better for the language if the standard was open for all and the decision making process less opaque. Ultimately, I don’t think compiler implementers should even have to deal with choosing to pay for the standard or go with a WP. ISO seem to make the money off C++ whilst the compiler implementers get little say.

4

u/STL MSVC STL Dev 27d ago

Not to my knowledge. We've had occasional informal agreements among implementers, like bringing C++23 modules downlevel to C++20 as an easy win despite it not being a formal Defect Report, but never anything larger.

8

u/TheoreticalDumbass :illuminati: Oct 28 '26

thankfully wg21 agrees with you, and has put great effort into minimizing bad parts of iso

iiuc compiler devs usually just look at the draft repo

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":

  1. This creates arbitrary deadlines: if you're not ready by X, your work won't be reviewed until 3 months later, sorry.
  2. This puts a toll on committee members: long days, fatigue sets in, etc...

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.

4

u/13steinj Oct 28 '26

At a personal level, I don't believe ISO has a fee. Some NBs do, but NB members get participation rights to my understanding.

If you're referring to the US / INCITS I agree it's a problem as it hurts individual contributors / is pay to play. Companies can easily afford the fee but many penny pinch inconsistently due to internal political reasons.

8

u/AKostur Oct 29 '26

The first, and greater, concern is the paid membership. This excludes so many potential volunteers from even getting started.

I've paid nothing to be a "member" of ISO. I know a reasonable number of other ISO folk who also have not paid to be a member. Perhaps you should be concerned with whatever NB requires fees to join.

if you're not ready by X, your work won't be reviewed until 3 months later, sorry.

The face-to-face meetings are not the only place where reviews happen. Committee folk talk to each other.

You seem to have some misunderstandings as to how the committee functions.

Imagine a world where clang/gcc/msvc (good luck) can hold these new features for people to use. Oh right, you can. Fork the project, do whatever changes you want, publish the result. A number of paper authors already do that so one can experiment with the proposed change.

2

u/matthieum Oct 29 '26

You seem to have some misunderstandings as to how the committee functions.

Most probably, yes.

I've never participated myself, after all.

The face-to-face meetings are not the only place where reviews happen. Committee folk talk to each other.

Aren't the "big" meetings (I think there were a few virtual instances) the only place where changes are accepted, though?

I remember multiple reports of folks having to find a champion to present the proposal they had worked on at the big meetings so it could be voted on.

Votes which regularly end up with asking the author to do more work, which sounds a lot like a review.

4

u/AKostur Oct 29 '26

Aren't the "big" meetings (I think there were a few virtual instances) the only place where changes are accepted, though?

Yup, and they're routinely virtual these days. I haven't managed to attend physically for a while now. But with a 3-year release cadence, that's not an issue. Being accepted in the first meeting of the cycle has no greater impact than being accepted in the last meeting of the cycle. And by "accepted" I presume you mean "included into the draft next Standard" (which translates to a poll during a plenary).

The champion thing is less of an issue since the meetings have a virtual component.

Votes which regularly end up with asking the author to do more work, which sounds a lot like a review.

Where did I say that the big ISO meeting wasn't a review? I said (well, technically I implied whups: I did directly say it) it's not the _only_ review.

3

u/jwakely libstdc++ tamer, LWG chair Oct 29 '26

Aren't the "big" meetings (I think there were a few virtual instances) the only place where changes are accepted, though?

There are no "big" vs "small" meetings. The meetings that happen three times are year are when things get approved for being added to the working draft, but those meetings are all "hybrid" these days, meaning both remote and in-person attendance is supported. Remote attendees have all the same rights in terms of taking part in polls and joining any session ... although in practice it can sometimes be harder to follow some discussions if the A/V equipment breaks down. But there's no reason you need to attend in person to participate. That changed a few years ago.

And there are mailing lists, and a chat platform, and many sub-groups meet using video conferencing several times a year (my group, LWG, meets for 90 minutes every week, LEWG meets every two weeks IIRC). So lots of work happens throughout the year, it just can't be approved for the working draft until the full committee has a meeting.

I remember multiple reports of folks having to find a champion to present the proposal they had worked on at the big meetings so it could be voted on.

That was true years ago, but anybody can attend remotely now, including as a "guest" if they're not a member of a national body and need to present a proposal they've worked on. In practice, it might work better to have somebody in-person present it, but it's not required.

Votes which regularly end up with asking the author to do more work, which sounds a lot like a review.

Yes, but the point is that often that can happen outside of the meetings. A proposal can be reviewed by LEWG in their telecons then forwarded to LWG and reviewed in their telecons, and by the time the full committee meets, there's no more work to do on the proposal and it just gets a full-committee vote. We've spent several weeks reviewing the any_view proposal in LWG, requesting lots of changes, but we won't need to see it again at the meeting next month.

3

u/jwakely libstdc++ tamer, LWG chair Oct 29 '26

Specifically, when you wrote "if you're not ready by X, your work won't be reviewed until 3 months later, sorry" that's just not how it works. At all.

13

u/crowbarous Oct 28 '26

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.

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.

5

u/13steinj Oct 28 '26

The NBs who voted against it represent a small fraction of actual WG21 participants.

I believe in having quality control processes, but only one set of these processes. Consensus gathering is the QC process in WG21, and the NBs voting in the way that they do is a massive redistribution in giving the same people a different amount of power.

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).

2

u/13steinj Oct 28 '26

I absolutely love C++. If I commented all day and night with a thank you for everything I appreciate being added to the language I'd have no job and no sleep for several years. I'll go a step further: I love the fact that UB exists and think that the majority of efforts pushing for its elimination are... not misguided, but fundamentally incomplete in the understanding of the existence of UB.

I tend to focus on the problems and want to solve them, rather than write metaphorical love letters.

3

u/germandiago Oct 28 '26

then, the question that follows is:

seeing all the good work done, for a polemic part you propose or ask how to get out of ISO?

It does not strike a good balance to me. I would say even more, it looks quite ungrateful given the amount of positive work there is in.

Of course mistakes are done, for sure, or disagreements arise, but it is as if you do not like, Idk, 5 features of an open source project with 2000 features and you decide to promote forking it.

9

u/13steinj Oct 28 '26

I think you're (IMO, incorrectly) associating the good work that has been done, with being under ISO for some reason, rather than all the work of the proposal authors and the people who go back and forth having debates. I'd go so far as to say some of the work has been in spite of being an ISO lang, and other work in spite of WG21's idiosyncracies.

In the same way, you can love a country but not it's current political administration, or even its political process on the whole. To take an example, I would think Jason Turner loves C++. But he has said on at least one occasion (I am paraphrasing) "Oh gods no, I'm not a committee member. I know too much about how the sausage is made, I wouldn't want to be a part of that."

2

u/no-sig-available Oct 28 '26

I propose an experiment:

Let's develop C++ outside of ISO for the next 30 years, so we can compare the outcomes. Then we will know!

3

u/germandiago Oct 29 '26

Cool: allocate resources, call people, convince them, etc.

After all of that start to work on features: sponsor stuff and staff :)

Establish voting methods, a governance, etc. and... you more or less duplicated a semi-committee probably.

Now what? Probably similar outcomes? A more unstable language due to more chaotic "speed"?

I see C++ as the Java of managed languages. And that is not a bad thing, it is good for certain things, worse for others.

3

u/13steinj Oct 29 '26

I'm sure the guy was being sarcastic...

3

u/ts826848 Oct 29 '26

A more unstable language due to more chaotic "speed"?

The frequency at which a release is cut does not dictate stability. Case in point:

I see C++ as the Java of managed languages.

Java ships a new release six times as frequently as C++! And yet they somehow manage to avoid instability/chaos.

If you're concerned about stability, take care about what you ship. If anything, more frequent releases would help in this regard: if the cost of missing a particular cutoff is greatly reduced then the temptation to rush a potentially half-baked feature over the finish line is also reduced (cough Rust async cough)

1

u/germandiago 29d ago

you are rught abt Java release cadence. I meant the stability.

3

u/germandiago Oct 28 '26 edited Oct 28 '26

so what is the cause of the success of C++? The committee did not contribute? It came out of an abstract thing?

 You mean the committee has not been a reasonable vehicle and talking about leaving ISO is more constructive?

7

u/pjmlp Oct 28 '26

C++ was already successful one decade before ISO C++98 came to be.

It was an adoption success, because it was also developed alongside UNIX and C, which made all UNIX and C compiler vendors add C++ to their products, and operating systems SDKs, based on CFront 2.0, a decade before the very first ISO release.

A decade on the only guidance of what was C++, were the reference manuals provided with each compiler vendor, their C++ frameworks like Turbo Vision, Set++, MFC and co, and eventually the C++ARM book, which was the starting point for the ISO C++ process.

8

u/ts826848 Oct 28 '26

Is it really that bad as to propose to be so destructive?

I think this question is implicitly biased in the other direction - why would leaving ISO necessarily be "destructive"? Good things happened while C++ was under ISO, sure. But that's not the same thing as those good things happening because C++ was under ISO. 

5

u/germandiago Oct 28 '26 edited Oct 29 '26

I think this question is implicitly biased in the other direction - why would leaving ISO necessarily be "destructive"?

Because it has traditionally been the main vehicle, because it is the standard contract with which vendors interact and users interact, because it has delivered decades of worth work and because it looks like it is a call for forking or abandoning something that has done more good than harm.

Now you would need to go somewhere else, establish it, attract people (which also creates an unnecessary split unless things are so bad, but I do not see anywhere what is so bad actually), given I have used C++ since 2001 and it just improved steadily starting at C++11.

Of course, this is just my personal opinion, but come on, what an overreaction if you look at the whole history...

11

u/ts826848 Oct 28 '26

Because it has traditionally been the main vehicle

Breaking from tradition is not necessarily destructive.

because it is the standard contract with which vendors interact and users interact

That does not mean that the standard has to be an ISO standard. Generally speaking, vendors and users care that there is a standard, not that it is specifically the ISO standard - consider that approximately no one - including vendors! - use the "official" ISO standard.

because it has delivered decades of worth work and because it looks like it is a call for forking or abandoning something that has done more good than harm.

Again, something good happening under ISO is not the same as something good happening because of ISO. I'm rather skeptical that you can support a claim that but-for this specific ISO process none of that work would have happened, that no other conceivable non-ISO process could have produced similar results.

Furthermore, past performance is not a guaranteed indicator of future results. Even if you assume that ISO was the best choice for C++ in the past, it does not follow that ISO will always be the best choice for C++ in the future.

Now you would need to go somewhere else, establish it, attract people

That would only be a problem if the split were done without an strong consensus for the move. I'd hope people would be wiser than that.

3

u/germandiago Oct 29 '26 edited Oct 29 '26

That does not mean that the standard has to be an ISO standard.

That is probably a big strength of C++ that you do not value. What is the spec for Rust? The compiler?

Again, something good happening under ISO is not the same as something good happening because of ISO

Yes, I understand, it cannot be proved, and I agree. But the same way it cannot be proved, it is a risk to propose a split for something that seems to work reasonably well (in my view, despite the controversial stuff, and seen the amount of work delivered).

There is an opportunity cost in proposing a split or promoting a fork and it is uncertain that it would work better, or, at least, better in all departments. FWIW, it would stop being an ISO standard everyone can take a look at from day one, that is a loss in my view.

Would the spec be as good and worked on as it is today? Or it would be a "the implementation is the spec" and be abandoned and would create more implementation divergence at the same time some people celebrate "features now land faster"?

These are reasonable risks to think of.

4

u/ts826848 Oct 29 '26

That is probably a big strength of C++

I'm confused what you mean by "that". Do you mean having a standard or having an ISO standard?

that you do not value

I wouldn't be so quick to make presumptions lest you be surprised ;)

Yes, I understand, it cannot be proved, and I agree.

OK, so then it might be worth being careful to distinguish between things that are specific to ISO and things which can continue to apply outside of ISO.

But the same way it cannot be proved, it is a risk to propose a split for something that seems to work reasonably well

There is an opportunity cost in proposing a split or promoting a fork and it is uncertain that it would work better, or, at least, better in all departments.

A (the?) reason the question is being entertained in the first place is because some people think that keeping the status quo is also a risk.

FWIW, it would stop being an ISO standard everyone can take a look at from day one, that is a loss in my view.

Strictly speaking, everyone can't take a look at the ISO standard. You have to pay for it!

(Yes, yes, working drafts and such. But who says that you can't have working drafts outside of ISO?)

Nitpicking aside, leaving ISO might mean there is no longer an ISO standard everyone can take a look at, but it does not follow that there would no longer be a standard everyone can take a look at. Nothing about leaving ISO requires that the standard become inaccessible. You don't need to look all that far to find other programming languages with easily accessible standards despite not being part of ISO (JavaScript/ECMAScript, C#, Java, SML, etc.).

Would the spec be as good and worked on as it is today?

That's kind of the entire point of this discussion, isn't it? And unfortunately it's difficult to confidently answer such a question without a time machine.

Or it would be a "the implementation is the spec" and be abandoned and would create more implementation divergence at the same time some people celebrate "features now land faster"?

This feels like it's veering into false dichotomy territory. There's nothing magic about ISO that forces implementers to adhere to it - consider that libc++ is still missing features from C++17 coming up on a decade later, that no one bothered with C++11 GC, and other things I'm forgetting that /u//pjmlp would probably know. If anything, implementers already don't care about the official ISO standard, so whether the working draft is produced via ISO or not makes not a whit of difference to them as long as there's consensus on what to use.

In the end, implementation divergence is a social problem. You avoid divergence by getting everyone to agree on what to target. I haven't yet been convinced that the only possible thing implementers can agree to target is specifically an ISO standard and nothing else.

4

u/pjmlp Oct 29 '26 edited Oct 29 '26

The spec for Rust to be used by such companies is called Ferrocene, and developed in collaboration between Ferrous Systems and AdaCore.

https://public-docs.ferrocene.dev/main/index.html

https://ferrous-systems.com/blog/ferrocene-open-source/

Also its use in embedded is no longer a problem as key companies in the industry, like Ferrous Systems and Ada Core, have added Rust compiler certifications to their processes.

https://www.adacore.com/press/adacore-announces-the-first-qualification-of-a-rust-compiler

https://ferrocene.dev

As do industry leader embedded OSes like VxWorks,

https://www.windriver.com/resource/enabling-rust-for-crittical-systems

Anyone that owns a recent Volvo car model, has Rust written embedded software powering its systems.

The industry doesn't stand still in their search for alternatives.

2

u/germandiago 29d ago

That means soecs are needed after all. In C++ nowadays that is done through an ISO standard whose flow is well-known and familiar to many, even if somewhat bureaucratic.

Did you consider the amount of work it takes to have something equivalent (a spec) if you go for a split?

It is a ton of work, discussion, etc.

1

u/pjmlp 29d ago edited 29d ago

Indeed, and as you can see the industry is already going through that effort, they are no longer waiting for C and C++ standards to sort out their issues.

I can provide plenty of other industry examples.

2

u/germandiago 29d ago

Sure. What I mean is that C++ already has one. Others were born and needed a governance system bc they did not have one and it makes sense for those to have their own.

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?

5

u/13steinj Oct 28 '26 edited Oct 28 '26

Do they have to lose that income? Do they actually get that much? I'm not claiming this isn't the case, just would be good to actually lay out what's necessary.

Suppose this is fully true: does ECMAScript not provide them income on a similar magnitude? If no, why not? If yes, why can't we shape the structure closer to how that community does?

E: What exactly is under such a strong copyright protection? If P-papers or the final draft become locked down, would that be enough to light a fire under WG21's metaphorical ass? What does it take to fork the language in a way that still respects the copyright? Can we not have a differential standard (e.g. "baseline equivalent to C++23, with the following changes...")?

4

u/k3DW Oct 28 '26

From my understanding, ISO doesn't own the copyright to the idea of a C++ standard. It just owns the copyright to the existing published standards documents. If we chose to develop a subsequent standard apart from ISO, that is a new document, and does not have ISO copyright.

1

u/13steinj Oct 28 '26

There's been recurring drama about ISO wanting to lock down P-papers. From a copyright perspective IANAL but there are languages that have source interoperability with C without violating anything here (and Carbon aims to do this with C++, but I'll believe it when there's tangible outputs).

0

u/pjmlp Oct 29 '26

As there is some internal competition at Google between doing AI translation to Rust via Argon, or using Carbon, the actual approach remains to be seen.

13

u/johannes1234 Oct 28 '26

one of their largest source of fees.

Is that true? I would have assumed that other industries, which are a lot tighter regulated, lead to more revenue. 

Who buys the C++ standard? For most people implementing software using C++ their conpiler's manual and other unofficial documentation (income freely available draft documents) serves their needs well. The only time I'd need it, was if I want to sue my compiler vendor for causing trouble with my standard compliant program, which likely is prevented by the compiler vendor's license.

In other industries one has to keep a lot more documentation. A bridge builder must keep documentation in them applying "state of the art" (= ISO standard) to calculate the needed strength of their beams, while producing the individual beams and while putting them in place. 

11

u/TheoreticalDumbass :illuminati: Oct 28 '26

this has the potential to be a hilarious gofundme or kickstarter

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.

18

u/pjmlp Oct 28 '26

Actually there is a C++ Foundation, but it isn't doing the same kind of job as the other foundations.

Those same industries don't seem to have had any issues adopting Java, Kotlin (via Android), Swift (via CarPlay), Go and Rust (via Kubernetes, Docker, Web and AI tooling), JavaScript (via embedded WebViews).

4

u/chibuku_chauya Oct 28 '26

ECMA, perhaps.

5

u/tialaramex Oct 29 '26

Of the existing umbrellas, assuming they'd have you, ECMA seems like the most obvious home for this work. In the event that a ISO document genuinely is valuable to real customers (which I doubt, but it will come up) ECMA are also familiar with the process to take documents they've made and get the ISO stamp on them for whatever that's worth.

3

u/tialaramex Oct 29 '26

Although it's not crazy to think of Microsoft as owning C# there is a notionally independent .NET Foundation and the compiler and other tooling isn't under Microsoft's direct control. Likewise I believe Swift isn't legally "owned" by Apple and similarly in the other cases. These languages probably wouldn't thrive if the obvious corporate backer lost interest but these aren't "company languages" the way say VBA was where Microsoft owns the language and the moment they lose interest it's no longer relevant.

1

u/pjmlp 29d ago

When Bjarne makes his presentations about the relevance of ISO, and company languages, somehow he forgets that many of his examples are out of that.

Some of the languages have decreased their dependency on C++, by eventually fully botstrap themselves, or at very least rewrite part of the toolchain.

Others have adopted foundations or open source development, as you well point out.

And then there is the devil in the room, for many projects or companies, plain old C is good enough, regardless of the issues.

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.

9

u/ts826848 Oct 28 '26

How much weight will C++ lose as yet another hobbyist language?

I'd be surprised if anyone in the hobbyist space cared whether C++ is an ISO language, especially given the programming language renaissance we seem to be in.

Will it keep its guarantee of backward compatibility

This is completely independent of whether standardization is done through ISO.

6

u/johannes1971 Oct 28 '26

My concern is more with the professional world. You know, the people that want to invest in software without rewriting it every year. Like it or not, that is also a big selling point of C++.

3

u/13steinj Oct 29 '26

I've seen you make this point before and I continue to not understand it.

It is legal to compile TU A with TU B and have different -std flags. This is explicitly called out in the GCC docs about CoW strings.

If C++ substantially changes from one std revision to the next I don't see this as anyone having to rewrite their code. Keep compiling your old TU with the old flag. I don't even think mixing compiler versions is at issue (but far more likely to get bug bears, but that's not the standard's fault).

Note: how accurately GCC does or does not screw up, is a matter of debate. In my experience it's usually some vendor down the chain screwing something up.

New ABIs don't have to be impossible. C++ has inline namespaces. The symbol for the "old" ABI can have its revision or "epoch" if you will embedded into the symbol name, and the iterations of the types in question can just have conversion operators / constructors for interop. This wouldn't be the most performant thing in the world... but at least it's a zero-cost abstraction, you pay for what you use (interop at the ABI boundary is not free).

6

u/Dragdu Oct 29 '26

It is legal, but not recommended. There are no guarantees that your 3rd party deps have same ABI across different std versions, and some are explicitly known to have different ABI across different std versions.

1

u/13steinj Oct 29 '26

Correct it's not recommended, for a number of reasons. But I was expressing to johannes what is possible and legal, rather than reccommendation, and there are ways (linker namespaces, symbol renaming) to solve this problem in the scenario you describe as well.

5

u/johannes1971 Oct 29 '26

I've seen you make this point before and I continue to not understand it.

I have a team of three people and 335,000 lines of code. There is no world in which we can stop for a few years to rewrite everything in a new language. You seem to believe that this isn't a problem, and I do.

It is legal to compile TU A with TU B and have different -std flags. This is explicitly called out in the GCC docs about CoW strings.

That's just one compiler. More importantly, let's say we have some new code, and it's compiled with the C++27 flag (that's the community edition of C++ that introduces mandatory initialisation and const by default). I'm sure we can link function calls, but could we even #include anything from C++<27? Any struct or class that doesn't explicitly initialize all of its variables will be rejected. Attempts to write to any of its members fail, as they are now interpreted as const.

Like it or not, C++ has textual inclusion as a code sharing mechanism. If you ever want to get serious about changing any language details, _that_ is the thing that needs to change first.

New ABIs don't have to be impossible.

They are. Not because I say so (I couldn't care less, we build pretty much everything from source as it is), and also not because the committee says so (it's nowhere in the standard), but because the maintainers of the various lib-C's have decreed so.

I wasn't talking about ABI anyway though, but rather about the sweeping language changes that are occasionally called for in this group. Right now those people are irrelevant. Will they still be that way in a non-ISO setting? Or will we end up in a Python-3 situation?

2

u/13steinj Oct 29 '26

That's just one compiler.

I could be wrong but I'm pretty sure this is true of the gcc, edg, and clang frontends. I have no idea about MSVC (but I'm going to be honest, I really, really couldn't care less in that case. I've just had too many problems over the years especially in comparison to how much use I've had).

Lets take the source compatibility issue at face value-- you are aware that source compatibility has been broken across std revisions on multiple occasions, right? The big one in my experience recently is constructing std::string from a nullptr, that constructor is now deleted. Another (hopefully obvious, but potentially rare) case is the introduction of the spaceship comparison operator (foo<&T::operator<=> now needs disambiguating parenthesis). What will you do when std::function is removed (and it will be removed one day!)? What did you do with the ancient output stream API headers were removed? What about tri/digrams (I forget which removal was blocked / delayed, but one of these definitely happened)?

I am sympathetic to the need of including one file into another and being concerned about it compiling or not, but the standard way to approach this (if you insist on the TU being on the old standard revision and the header may be on the new one) is to use macros. The inverse, breaking old syntax is impossible to avoid running into a problem. Library APIs, can be solved the same way to solve ABIs of types-- use inline namespaces for disambiguation.

But I find the situation preposterous. You're able to change the source file but not the header, or visa versa, and you can't change the compiler flags either... I kinda just don't buy it? Maybe there's some niche industry specific legal precedent but this sounds very bizarre. But it seems like you've folded yourself into a pretzel and then asking for help because your ligaments and joints are overextended and your bones are broken.

That said, per-file source compatibility flags have been demonstrated as possible (#feature in Circle). Yes, it's not in the C++ standard, and yes, I suppose people would have to "propose it" first, but I generally suspect, as odd as it sounds, that WG21 is not interested in solving this problem, whether it be because rhey see it as overblown or some other reason).

the maintainers of the various lib-C's have decreed so.

I assume the capital C is for C++-- I'd really want a citation because both libstdcpp and libcpp have macros that affect the ABI. In some cases linking together different ABIs is also valid (again. GCC explicitly calls out the dual-ABI for strings, as an example).

Or will we end up in a Python-3 situation?

This doesn't hold weight to me as an argument, not only was 2to3 many years ago at this point, it just is not a big a deal as the few holdouts make it out to be. I'd also argue there were a set of systemic failures coordinating together that made that especially painful.

That said, ISO or lack there of will not guarantee either of our wishes on this matter.

7

u/ts826848 Oct 28 '26

Ah, did you mean that removing C++ from ISO will turn it into yet another hobbyist language? If so, my apologies for the misinterpretation.

That being said, it's not clear to me that ISO presence is the differentiating factor for a "professional" or a "hobbyist" language.

You know, the people that want to invest in software without rewriting it every year. Like it or not, that is also a big selling point of C++.

Sure, but as I said whether C++ is in ISO or not is irrelevant for that concern. Nothing about ISO forces the committee to preserve backwards compatibility (either that or whoever is supposed to enforce that has not been on top of things) and nothing about leaving ISO will force the committee to break backwards compatibility.

4

u/johannes1971 Oct 28 '26

That being said, it's not clear to me that ISO presence is the differentiating factor for a "professional" or a "hobbyist" language.

It's process, which companies like. It has a lot of heritage now, which is also good. It guarantees compatibility between compilers, instead of everyone doing their own thing.

I'm not actually sure that you are right about ISO not enforcing backward compatibility. Standards, ultimately, are about interoperability, and that would suffer very badly if C++ chose not to have backward compatibility. And sure, we've seen a few compatibility breaks (some with good reason, some by accident), but that's a far cry from some of the stuff occasionally called for in this subreddit (like "make everything const, just rewrite your code bro!" - that would break absolutely everything, for very limited benefit).

And it is a fact that companies with a lot of investment in C++ code are heavily represented in the committee, and aren't looking to rewrite everything.

2

u/ts826848 Oct 28 '26

It's process, which companies like.

Sure, but there's no reason you can't have process outside of ISO as well.

It guarantees compatibility between compilers, instead of everyone doing their own thing.

This is a property of there being a standard, not of there being an ISO standard. The important bit is that people agree on the document to use. There's nothing that says that that document has to be an ISO document

I'm not actually sure that you are right about ISO not enforcing backward compatibility.

Since I'm just a rando I can't exactly speak with authority here, but for what it's worth I haven't heard a single peep of such a thing being the case. Every time I've seen the need to keep backwards compatibility brought up it's never stated as being due to ISO rules. It's always for your regular pragmatic considerations.

For instance, consider the ABI - Now or Never decision. As far as I know that paper was treated like any other - the paper was presented, discussion happened, then a vote occurred. If ISO enforced backwards compatibility then I would have expected that paper to have been killed off much earlier in the process - why bother dealing with a paper that proposed something that ISO forbids? Not to mention that I'd assume committee members would be aware of such a rule and would at least try to explain why their paper should be heard anyways. A similar argument should apply to other notable backwards compatibility breaks and/or proposals for such like the removal of trigraphs, mandating two's complement, 8-bit bytes, compound volatile operations, etc.

And it is a fact that companies with a lot of investment in C++ code are heavily represented in the committee, and aren't looking to rewrite everything.

It is (was?) also the case that similarly-situated companies in the committee were open to making breaking changes. Calls to break ABI didn't materialize out of the ether, after all.

4

u/johannes1971 Oct 29 '26

You're confusing two things here: ABI changes require recompiling everything, which is unfeasible for some people, but is otherwise a mechanical process that doesn't have any manpower involvement. I was talking about language rule changes: they do require people to change things on a line by line basis, and as such represent a great deal of effort. That effort is then usually waved away with non-sequiturs like "but you can keep using your old compiler".

If interoperability is not a goal of standardisation, then what do we do it for?

2

u/ts826848 Oct 29 '26

I was talking about language rule changes

Fair. I didn't only bring up ABI, though. The removal of trigraphs are a language-level breaking change and IIRC IBM voted against it the entire way because they have stuff that still depends on it, but that change made it to the final standard anyways. I believe non-bitwise compound volatile operations are intended to be removed as well and I haven't heard anything about ISO rules preventing such a thing.

More generally, just look through Annex C of the standard. I'm not sure that even has everything; IIRC operator<=> can break formerly-working code since it changes how overload resolution works (e.g., https://stackoverflow.com/a/65649022) but that doesn't seem to be listed there.

If interoperability is not a goal of standardisation, then what do we do it for?

I'm not asserting otherwise. I'm just saying that there's nothing that limits such concerns to ISO. Consider, for instance, that JavaScript is standardized via ECMA rather than ISO.

2

u/13steinj Oct 28 '26

I mention this question near the end of my post (or at least intended to with "what would we lose?"

I do thank you for elaborating on that point though, probably better than I could have. It's definitely not "free."

I don't understand the "like Microsoft" bit though, or at least I can see multiple meanings.

7

u/pjmlp Oct 28 '26

As I mention on my sibling comment, and actually it was mentioned towards the end of the C++ documentary, C++ is already becoming yet another hobbyist language in the sense of existing resources for the compiler vendors to actually implement the standard.

There is one proper commercial compiler left, all the other commercial compilers are forks from GCC and clang, in which the vendors mostly only contribute to upstream regarding backend support for their platforms.

This leaves the GCC and clang frontend and standard library implementations for newer ISO C++ revisions in the hands of volunteers, like any other hobbyist language, with occasional corporation sponsorships.

9

u/AnyPhotograph7804 Oct 28 '26

To be fair, there are not many programming languages with many different BIG/known compilers, even if a language is (semi-)standardized by a known gremium. Java has only two, C# has only one, Rust has only one, Object Pascal has two, Golang has only one etc. C seems to be an exception of this.

The problem with stuff like compilers is, you kneed very specialized knowhow to do them well and people, who can do them, are not cheap.

0

u/pjmlp Oct 28 '26

Java has more than two, quite a few actually, but folks tend to think only Oracle matters.

Rust and Go also have more than one. Object Pascal has at least three.

C# has at least three known ones.

3

u/Chaosvex Oct 28 '26

Is the power to fork C++ really there if the standard belongs to ISO? I'm aware that forks do exist but nobody uses them and I'd assume that they have no standard.

3

u/no-sig-available Oct 28 '26

You can remove the parts you don't like, and call the result C--.

I'm aware that forks do exist but nobody uses them

Yes, that is a common problem. :-)

and I'd assume that they have no standard.

Neither do we, if we cannot agree on one...

4

u/pjmlp Oct 28 '26

C++/CLI does have a standard via ECMA actually, but no one cares, which is understandable, how many .NET C++ compilers does one need?

3

u/johannes1971 Oct 28 '26

Two. One built by the community, and the one that Microsoft eventually abandons.

1

u/pjmlp Oct 28 '26

I know .NET since it was only available to MSFT partners pre-launch, as means to have their products being available on .NET launch event, where is the community implementation of C++/CLI?

3

u/Ameisen vemips, avr, rendering, systems Oct 28 '26

I mean, they said that we need one, not that we have one.

1

u/pjmlp Oct 29 '26

It wasn't clear from the sentence, and given that Xamarin failed to create one, I doubt anyone else will bother.

For the audience,

"Port the Clang C++/CLI compiler to POSIX platforms and implement ref classes"

-- https://monosoc.blogspot.com/2014/11/thanks-to-students-and-mentors-of-2014.html

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?

5

u/TheoreticalDumbass :illuminati: Oct 28 '26

some companies might get AI to implement what they care about, and just not care about upstreaming, eating into the volunteer pool

5

u/105_NT Oct 28 '26

I think the irony is that contracts are the most AI friendly feature in C++26. Even if enforcement is never turned on, the models will still be able to reason about them.

5

u/UndefinedDefined Oct 28 '26

Do you have anything to support your argument?

AI tools don't blindly follow function prototypes, they really look inside the functions themselves. So I think your argumentation is based on nothing. Asserts are usually in such functions as well, I see nothing that would enhance any AI tool.

5

u/Dragdu Oct 29 '26

I am going to copy paste my two comments from different thread:

So, when ${competent static analyzer} is scanning through my_project_cli.cpp and sees that I am using boost.program_options, what mechanism does it use to retrieve the boost.program_options sources to scan them?

...

It is a trick question, because by that point the source files are not even on the machine, only the headers and the .a file.

...

And even when the sources are available, it is massively less work, and thus token and thus money, to work with function-decl summaries than the actual code. And that's before we get into how much of the function contract cannot actually be reasoned about from the sources alone.

8

u/105_NT Oct 28 '26

The tools are able to reason about comments in the code so they should be able to use something structured like contracts. And since they are in the headers, the tools can use them for cases where they can't see into the functions

-5

u/UndefinedDefined Oct 28 '26

They already use asserts, which are stronger than contracts as asserts are considered for debugging. Contracts would be much worse, because you won't be able to replace asserts by contracts. I see no gains. If you adopt contracts and keep using asserts, your codebase gets worse. If you adopt contracts and replace asserts by them - your code will get slow. So the best way is to forget about contracts, and keep doing what people have been doing for the past 30 years - using asserts.

2

u/Zero_Owl Oct 28 '26

Well, if there is an AI era then AI should implement all the features across all the compilers, right?

4

u/pjmlp Oct 28 '26

Have you missed the drama of Rewrite X in Y with AI?

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.

1

u/ImNoRickyBalboa Oct 28 '26

Profiles are incremental, which is why it's called that way: you can apply (enforce) safety features at any level. It also is like rust working towards a final state of "everything is safe, allow unsafe code as exception annotated blocks"

9

u/Sarduinot Oct 28 '26

For sure, but Rust doesn’t allow you to define your own kind of unsafe block or have different kinds of globally defined unsafe blocks. That’s some novel territory that WG21 is charting.

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?

15

u/matthieum Oct 28 '26

Because C++ being an ISO standard is one of the most important reasons why automotive, aerospace, medical, etc. companies have chosen C++

Is it?

Safety-critical / regulated domains tend to have their own certification processes for the toolchains anyway, and the certification is focused more on the toolchains that the development process of the specification as far as I understand.

3

u/altmly 27d ago

The fact that C++ is ISO standard has absolutely no bearing on it. What else were they going to use? They need to certify their systems anyway. 

2

u/toggles03 27d ago

I’ve used both Rust and C++ in safety-critical contexts. When it comes to C++ vs Rust, ISO has absolutely no bearing.

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.

1

u/13steinj Oct 28 '26

I can't tell if this is in favor or against contracts.

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.

3

u/13steinj Oct 28 '26

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.

We used to do TS-es (TRs?) for various features. Why did modules "have" to merge into the standard in 20? Why do contracts "have" to in 26?

A big problem with the standard vs alternative publication methods is a culture that leans heavily against changing things/fixing problems.

10

u/ronchaine Embedded/Middleware/WG21 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

This is just not true.

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.

They don't. This is already how it works.

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.

We have retroactively fixed modules a lot, using defect reports. We shouldn't have had to do that, that is equivalent to saying "we didn't REALLY mean this we said this". C++20 modules were a disaster, the retroactive fixes make them better.

We are not a company that wants to break fast and move things, and we should've not rushed modules. We are writing an international standard.

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.

2

u/pjmlp Oct 29 '26

Reflection will land in compiler no matter if C++26 passed or not.

I have my doubts regarding MSVC, or proprietary forks from GCC and clang.

7

u/Minimonium Oct 29 '26

From my share talking to senior tech leadership in some big companies the demand for reflection is massive. Companies that did not really care for anything past C++17 really want it.

1

u/pjmlp Oct 29 '26

Most companies I work on, C++17 is good enough, anything related with reflection has long been done in other programming languages, basically how C++ gets used in AI via Python bindings.

Additionally anyone working with AI based tooling has less needs for such features, which I think many programming languages seem to be now fighting the last war, in regards to adding features after features, when many are now programming in natural language.

Naturally as C++ fanboy I care about reflection and co, I only wonder how relevant they will be in AI driven age, and MSVC is a good example of what happens when AI tooling is more relevant than ISO C++ compliance.

The Visual Studio 2027 roadmap is already available, and C++26 wasn't something they discussed.

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.

2

u/13steinj 26d ago

0

u/VinnieFalco wg21.org | corosio.org 26d ago

oh.... LOL. I thought I had posted but I could not find it. Well, thankfully, my position is consistent :)

-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

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.

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.

1

u/13steinj 27d ago

I really, really don't understand your angle here.

ISO isn't more conservative at all-- the issue is contracts, not Reflection. That's a far larger issue from a reduction in portability standpoint.

Also, contracts aren't modern and they have been pushed in-committee by long term experienced engineers? It's also a fairly ancient, though IMO mostly academic, idea.

That said I have repeatedly reported that I've seen juniors overuse internal contracts libraries to the point of causing large production issues.

-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.

7

u/TheoreticalDumbass :illuminati: Oct 28 '26

what is dead can never die

3

u/johannes1971 Oct 28 '26

And in strange aeons, even death may die.

3

u/[deleted] Oct 28 '26

[removed] — view removed comment

3

u/13steinj Oct 28 '26

I think there are enough issues in-WG21 from everything I hear, but those can be fixed mostly as-is.

In WG21, were contracts not polled at greater than a 6:1 ratio at full plenary? I'm focusing on this most-recent wakeup call: the SC22 vote is not procedural, like all votes that everyone thinks is procedural. When you have a different power structuee / distribution between the the group that actually makes the final call and the people providing the guidance (and they share members), it creates maligned incentives. This isn't the only time that ISO rules have caused WG21 problems or discomfort.

At a practical level, many community members want more committee members and diversity, but often live in a region where becoming a member is not a reasonable process / has fairly prohibitive barriers to entry. ignoring for a moment the concentration of influence issue, you need a better process getting into the committee and aligning power within with power outside, to have a realistic expectation of outcomes.

2

u/cpp-ModTeam Oct 28 '26

AI-generated posts and comments are not allowed in this subreddit.