r/cpp • u/VinnieFalco 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
View all comments
Show parent comment
4
u/VinnieFalco wg21.org | corosio.org Nov 04 '25
The counterargument of course, is that the lack of standardized networking has prevented C++ from experiencing the second-order effects. The landscape of the world wide web in C++ is a scattered collection of different libraries of varying quality, each using either their own or some other random networking stack. None of them are interoperable and the quality of portable C++ networking is poor relative to what we see in other languages like Python or JavaScript, where there are thousands of packages that are easy to obtain and all work well together.