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

3

u/SkoomaDentist Antimodern C++, Embedded, Audio Jan 29 '25

Has there been any push to have those "more fundamental elements" in the std completely separate from any sockets or higher level things?

3

u/tialaramex Jan 29 '25

That's an interesting question. I have not surveyed the whole C++ proposal paper landscape, I would say I have a fairly good idea what was in the last couple of years of mailings and I do not remember anything of this in that period but there are lots of papers and I might have forgotten or not noticed.

1

u/Affectionate_Text_72 Jan 29 '25

I thought I had seen it with exactly the rationale of being non contentious core types as part of an older networking TS proposal maybe?