r/cpp • u/horsey_jumpy • 5d ago
Prediction c++26
Since there's no kalshi market for c++ standards, put your predictions below for the upcoming second dis.
49
Upvotes
r/cpp • u/horsey_jumpy • 5d ago
Since there's no kalshi market for c++ standards, put your predictions below for the upcoming second dis.
44
u/ImNoRickyBalboa 5d ago
It will fail unless they drop contracts. Which they can't because they tied it to library hardening, so.... It will fail and there will be much clenching of hands and grinding of teeth
23
u/pkasting Valve 5d ago
It will pass. Not unanimously, but more than half the NBs that voted no last time will either vote yes or abstain.
30
u/javascript 5d ago
If I bet $1 on "The whole committee gives up and switches to Rust" what's the payout?
19
u/ConcertWrong3883 5d ago
If it passes some standards people will leave.
If it is removed some standards people will leave.
I hope some standards people will leave.
13
u/[deleted] 5d ago
WG21 has strong consensus. This time, it will pass.
9
u/13steinj 5d ago •
Slopped up a market real quick for some lols.
https://13steinj.github.io/cpp26_predictions/
6
u/New_Salamander_4592 5d ago
man you guys really are addicted to gambling
6
u/FitReporter9274 5d ago
This version will pass the NB’s. But the weight of the C++ governance framework and crippling devotion to backwards compatibility will continue to drag the language deeper and deeper into irrelevance.
3
u/burlingk 5d ago
So, I've not been to deep in this all lately, but, like, what is the big upset over contracts?
5
u/Aerocatia 5d ago
I think it is likely to fail again and I do not think contracts are worth potentially delaying for years the time when we can actually use the other features in C++26.
3
u/kritzikratzi 4d ago edited 4d ago
i hope they take their time. worst case they skip c++26 and go directly to 27/28/29.
those are tricky problems, no need to rush. also it gives the rest of the world time to implement and use modules correctly 🌱
2
u/tartaruga232 MSVC user, r/cpp_modules 4d ago
I think it will pass.
1
u/-dag- 5d ago
It will pass, but only because NBs want something and the committee is stubborn. Contracts will be hardly used at all, worse than modules.
2
u/Chuu 5d ago
Genuine question for anyone who says they'll just pull contracts and it passes -- does that mean you think they'll drop the standard library hardening as well? What else in C++26 is defined in terms of contracts?
1
u/CorrodedX 5d ago
Maybe I am looking at this too simply, but what do contracts actually add that an "if" statement doesn't already do? It seems like you're just moving checks from the function body to the definition.
-5
u/Jasonl220 5d ago
It will pass or C++ as an ISO standard is dead
0
u/drj__ 5d ago
Bro, just have C++26 and C++26.5
-4
u/samadadi 4d ago
I hope they drop contracts or I do not want the CPP26 to be passed at all.
-2
u/13steinj 5d ago
Nah man we need something better than this, give me a little bit I'll make a "market."