The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 C++ Coroutine Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
concurrencpp
Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
libfork
A bleeding-edge, lock-free, wait-free, continuation-stealing tasking library built on C++20's coroutines
-
UE4EnhancedCodeFlow
This code plugin provides functions that drastically improve the quality of life during the implementation of game flow in C++.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Swoole
PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;
They recently open sourced internal framework: https://github.com/userver-framework/userver
I am using concurrencpp for my project. What I like about it is that it's basically a thread pool factory with coroutines. It allows for better structuring / organizing of multithreaded work. So for me the main advantage of coroutines is that the code looks easier to follow
Project mention: Open Swoole: PHP Server with Async IO, Coroutines and Fibers | news.ycombinator.com | 2024-02-12
Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06My favourite was Microsoft's cpprestsdk, but for some reason now is in maintenance mode, I don't know why, so it's hard to suggest it for new projects. A nice alternative is restc-cpp, that's has a good high-level interface, if this is what you want.
More information on the async I/O can be found in the docs.
C++ Coroutines related posts
- Async C++
- Open Swoole: PHP Server with Async IO, Coroutines and Fibers
- Is anyone using coroutines seriously?
- Open Swoole – Programmatic server for PHP with async IO, coroutines and fibers
- Rust vs Go/JVM: dev speed + safety in practice
- [Blog] Unlocking the power of asynchronous PHP 💪
- Struggle with C++ 20 Coroutines
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Coroutine projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Swoole | 18,213 |
2 | cppcoro | 3,230 |
3 | userver | 2,194 |
4 | concurrencpp | 2,047 |
5 | async_simple | 1,464 |
6 | ext-openswoole | 790 |
7 | restc-cpp | 583 |
8 | ue5coro | 490 |
9 | libcoro | 455 |
10 | libfork | 452 |
11 | co2 | 328 |
12 | qcoro | 286 |
13 | corobase | 228 |
14 | Ichor | 174 |
15 | packio | 119 |
16 | coop | 97 |
17 | charly-vm | 93 |
18 | CoFSM | 74 |
19 | zab | 64 |
20 | asyncpp | 51 |
21 | UE4EnhancedCodeFlow | 50 |
22 | couring | 38 |
23 | coro | 34 |
Sponsored