-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Reading through the source code, I noticed that you seem to use blocking I/O with thread pools. My impression is that most languages are recommending either to use green threads (Go, Erlang, Java in the future) or async/await (C#, JavaScript, Dart) to avoid the comparatively high costs of OS thread switching. Skimming through the Internet, I noticed that async/await (called co-routines) are officially supported in C++20, but that support for it seems to exist for earlier C++ versions via e.g. Boost.Asio.
Do you have any particular reasons for avoiding co-routines?
Metadata
Metadata
Assignees
Labels
No labels