2 Comments
User's avatar
Uzo's avatar

This needed to be said, and it was touching to read. C++ needs to catch up.

I gave a talk on C++ in web backends, trying to pitch how it could be done today, and it even seemed bleak to me.

https://youtu.be/ulen8XhMeRA

Fixing the coroutine, std::execution impedance mismatch is the first step.

The next fight is the general apathy against dependencies, package managers, or building on top of existing libraries. The new corosio, beast2 and capy family of libraries are very interesting and could be a foundation for a good network stack.

Vinnie's avatar

My research shows that three things are needed for the library ecosystem to take off:

1. a language async abstraction (e.g. coroutines)

2. a defacto or standard networking library

3. an easy to use package manager

All three are needed. If you only have two, you stay stuck. This is the pattern across 14 other languages that I researched.