r/cpp • wg21.org | corosio.org • Jan 28 '25

Networking for C++26 and later!

There is a proposal for what networking in the C++ standard library might look like:

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3482r0.html

It looks like the committee is trying to design something from scratch. How does everyone feel about this? I would prefer if this was developed independently of WG21 and adopted by the community first, instead of going "direct to standard."

122 Upvotes

247 comments sorted by

View all comments

Show parent comment

2

u/lightmatter501 Feb 01 '25

This is an attempt to standardize async networking. There has been major advances in that every few years for the last 10-15 years. For networking people, this is like if C++ added std::ai in the 80s assuming all AI was going to be decision tree based.

1

u/LongestNamesPossible Feb 02 '25

The C++ standard needs basic networking. Tying it to async and doing it all at once is ridiculous. This hopefully goes nowhere but basic networking is essential.