r/cpp • WG21 Member • Oct 24 '26

Balloting has completed for C++26. Unfortunately it was Disapproved

https://www.linkedin.com/posts/robertseacord_balloting-has-completed-for-c26-unfortunately-share-7519795139859517440-AOth/

Since the C++26 DIS has been disapproved, the next step is going to be taken in Buzios during the 2026-11 meeting. The committee will have to decide what changes to make (if any) and submit an FDIS (Final Draft of International Standard) for Balloting.

288 Upvotes

399 comments sorted by

View all comments

Show parent comment

1

u/Difficult-Court9522 Oct 26 '26

You raise a very good point. And the only technical reason I can think of why I’ve never used com in my professional life is because people just don’t care/have the time/the need to /… make the c/c++ partly abi agnostic.
Because the windows com flow does increase the lib and application text code size.
Unless you can hide away all the com business.
Has anyone made a version where a TU can just include/import a specific version of a lib and have it automatically be forwards abi and api compatible (not an explicit windows style com)? Because that would require some language/… features. But then I think it would see broad adoption.

1

u/14ned LLFIO & Outcome author | Committee WG14 Oct 26 '26

Yes there were several back in the day. None got widespread adoption and they withered. COM is an excellent example of something which makes lots of other problems much easier, but by itself looks unappealing. For it to be useful, everybody needs to be using it - exactly what standards are supposed to lead out upon. But you'd have a better chance at WG14 than WG21 for standardising something like COM (and I'm on that actually, but we need a universal STD::error first, and that we can get into C by itself).

1

u/pjmlp Oct 27 '26

COM is not the only one left around, others have some more performance impact though.

Android uses heavily Binder (AIDL), Apple platforms a mix of Objective-C runtime, COM (on IOKit / DriverKit) and XPC, with some Linux distros being heavy D-BUS users.

The new kid on the block on Windows, WinRT, is basically COM with some extras (IInspectable, application identity and .NET metadata instead of TLB).

1

u/14ned LLFIO & Outcome author | Committee WG14 Oct 27 '26

Oh yes I didn't get into all the other Component Object Model implementations for brevity, and the OP mentioned COM so I stuck with that.

For C++: I know I proposed a design with a working implementation, and so did Gaby though his was fuller fat. We weren't the only two either - I think there were four attempts at proposing this over the past few decades.

I've given up on WG21, but as I say, after I get std::error into C3x, I'll try pitching Component Object Model for C and see how far I get. The current WG14 would say no - but maybe in the 2030s they might say yes.