Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 C++ Coroutine Projects
-
Project mention: Go with PHP (why it's still a good idea to use PHP in 2023) | reddit.com/r/PHP | 2023-05-11
It's a management UI where concerns were raised that it downloads from third party server. However this issue was handled very fast and code was removed: https://github.com/swoole/swoole-src/issues/4434
-
PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
I think userver (https://userver.tech/) is good way for you. 🐙 userver is the modern open source asynchronous framework with a rich set of abstractions for fast and comfortable creation of C++ microservices, services and utilities.
-
concurrencpp
Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
-
async_simple https://github.com/alibaba/async_simple
-
Project mention: [Blog] Unlocking the power of asynchronous PHP 💪 | reddit.com/r/platform_sh | 2023-05-24
One such promising solution is Swoole, a high-performance networking framework that helps PHP applications handle server-side tasks more effectively.
-
libfiber
The high performance coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iocp/windows GUI (by iqiyi)
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
Restc-cpp: Client library using asio stackfull coroutines. It also handles serialization to and from Json automatically if the C++ classes are declared with boost::fusion.
-
Project mention: Libfork v2: A lock-free, wait-free, continuation-stealing tasking library built on C++20's coroutines | reddit.com/r/cpp | 2023-02-27
-
-
-
You're not completely wrong, but I think this overstating things by a lot. I'll grant you the containers for example, but you can generally use STL algorithms with them. And plenty of old ways of doing things have left modern Qt-based codebases and moved to more modern ways of doing things, including a fair amount of moc macro usage (and yes, you can remove the moc these days, but it has different perf characteristics - cf. the verdigris project).
The community around Qt is pretty active at adopting modern C++, e.g. imho https://github.com/danvratil/qcoro is leading work.
-
Project mention: Ichor v0.2.0: C++ Framework for Event Loops, Dependency Injection and More | news.ycombinator.com | 2023-03-12
-
-
-
Project mention: Asio is great if you’re building a library/application with non-Asio API. But building Asio APIs using async compositions is too messy. Anybody else agree ? | reddit.com/r/cpp | 2022-12-23
That's not even helpful, as you usually read/write using composed ops and they will interleave anyway. To have an io object that's capable of correctly pipelining multiple concurrent write- or read-operations, you need a custom strand like this: https://github.com/qchateau/packio/blob/master/include/packio/internal/manual_strand.h
-
Project mention: A Finite State Machine library based on Coroutine Symmetric Transfer | reddit.com/r/u_Correct-Fee5630 | 2023-02-06
-
-
-
Rstein.AsyncCpp
The RStein.AsyncCpp library is a set of types that should be familiar for anyone who knows the Task Parallel Library (TPL) for .NET (C#).
-
-
Project mention: Sane coroutine imitation with macros; copyable, serializable, and with reflection | reddit.com/r/cpp | 2023-01-22
For future work ideas, I'd love to see this optimize well at -O1 and not only -O2.
-
Link to the repository: https://github.com/ashtum/smpp
-
CodiumAI
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
C++ Coroutines related posts
- [Blog] Unlocking the power of asynchronous PHP 💪
- Struggle with C++ 20 Coroutines
- Go with PHP (why it's still a good idea to use PHP in 2023)
- Does C++23 have a coroutine task promise type?
- API gratuite c++
- A Finite State Machine library based on Coroutine Symmetric Transfer
- Sane coroutine imitation with macros; copyable, serializable, and with reflection
-
A note from our sponsor - Sonar
www.sonarsource.com | 30 May 2023
Index
What are some of the best open-source Coroutine projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Swoole | 17,859 |
2 | cppcoro | 2,810 |
3 | userver | 1,667 |
4 | concurrencpp | 1,493 |
5 | async_simple | 855 |
6 | ext-openswoole | 730 |
7 | libfiber | 675 |
8 | restc-cpp | 541 |
9 | libfork | 295 |
10 | libcoro | 231 |
11 | corobase | 204 |
12 | qcoro | 197 |
13 | Ichor | 112 |
14 | charly-vm | 91 |
15 | coop | 85 |
16 | packio | 84 |
17 | CoFSM | 62 |
18 | zab | 57 |
19 | coro | 34 |
20 | Rstein.AsyncCpp | 29 |
21 | asiochan | 25 |
22 | rcoro | 12 |
23 | smpp | 9 |