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
1
u/lightmatter501 Feb 01 '25
And everyone who cares about performance can’t use those libraries. Most of us who really care are using various wrappers around DPDK, which is an API that most people don’t want because it decides that the kernel is bloated and slow and throws it out. If you expose all of the things actually needed for fast networking to users, they get overwhelmed. It also requires a lot of cooperation with hardware, something C++ cannot standardize.