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. Learn more →
Top 23 Coroutine Open-Source Projects
-
hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
-
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.
-
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
-
mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、Swow、WorkerMan、FPM、CLI-Server (by mix-php)
-
libfiber
The high performance c/c++ coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI (by iqiyi)
-
posterus
Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
If you develop projects in Unity - i really recommend to see at UniTaks.
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
yappi
So, we try to use Photon coroutine lib to simplify the development of DPDK applications with the new concurrency model, and provide more functionalities, such as lock, timer and file I/O. First of all, we need to choose a userspace network protocol stack. After investigation, we have chosen Tencent's open source F-Stack project, which has ported the entire FreeBSD 11.0 network protocol stack on top of DPDK. It also has made some code cuts, providing a set of POSIX APIs, such as socket, epoll, kqueue, etc. Of course, its epoll is also simulated by kqueue, since it is essentially FreeBSD.
Project mention: How Much Memory Do You Need to Run 1M Concurrent Tasks? | news.ycombinator.com | 2023-05-21It would be interesting to bench something extremely lightweight (like https://github.com/edubart/minicoro) against these runtimes.
By my back-of-the-napkin math, 1,000,000 coroutines would cost about 64mb + 2mb/core for stacks.. which works out to about 4x less memory than the 'winner' of this comparison, and ~30x less than go.
Project mention: Letlang — Roadblocks and how to overcome them - My programming language targeting Rust | /r/rust | 2023-06-07Yes, Letlang is translated to Rust and the runtime is implemented in Rust, using tokio and genawaiter. The compiler itself is also built in Rust.
Coroutine related posts
- Optimizing CPU Load in C#: Key Approaches and Strategies
- Show HN: Neco – Coroutine Library for C
- Profiling Python Code for Performance
- Async C++
- A Time-Sharing Scheduling Coroutine Script Language
- Show HN: A Time-Sharing Scheduling Coroutine Script Language
- Write C++ as easy as Golang with coost
-
A note from our sponsor - InfluxDB
www.influxdata.com | 24 Apr 2024
Index
What are some of the best open-source Coroutine projects? This list will help you:
Project | Stars | |
---|---|---|
1 | UniTask | 7,255 |
2 | hyperf | 5,929 |
3 | swoft | 5,583 |
4 | easyswoole | 4,726 |
5 | coost | 3,821 |
6 | libaco | 3,437 |
7 | libgo | 3,105 |
8 | concurrencpp | 2,047 |
9 | mix | 1,922 |
10 | marl | 1,770 |
11 | yappi | 1,369 |
12 | swow | 1,118 |
13 | SwiftCoroutine | 832 |
14 | PhotonLibOS | 785 |
15 | libfiber | 714 |
16 | minicoro | 573 |
17 | posterus | 550 |
18 | spring-kotlin-coroutine | 446 |
19 | genawaiter | 428 |
20 | Melang | 413 |
21 | libconcurrent | 354 |
22 | asio-grpc | 323 |
23 | YACLib | 245 |
Sponsored