Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
Top 7 C Coroutine Projects
-
-
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
libfiber
The high performance coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI (by iqiyi)
-
Project mention: How Much Memory Do You Need to Run 1M Concurrent Tasks? | news.ycombinator.com | 2023-05-21
It 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.
-
In order to simplify the demonstration code, the above example does not show network communication and data storage at the script layer, but all these functions are supported by Melang scripts. Interested readers can refer to Melang official website.
-
lua-eco
🐛Lua-eco is a Lua interpreter with a built-in event loop for scheduling lightweight coroutines automatically, enabling efficient concurrency in Lua. Build high-performance, scalable applications.
-
Medge
Medge is a new HTTP API server with preemptive scheduling co-routine programming language as its developing language.
This article introduces an open source API server named Medge. Medge is an HTTP server, and its authors currently position it as an API server.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
C Coroutine related posts
- Splitting the stack - is there a library for this?
- Running PHP with io_uring
- Lua-Eco
- Show HN: Stackful Coroutines for C
- User space dynamic tracing and feedback control
- Simple HTTP server implemented in C: new trace technology
- Using PHP as a multiplayer FPS game engine with clients renderer using WebGL
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Nov 2023
Index
What are some of the best open-source Coroutine projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | libaco | 3,388 |
2 | swow | 1,074 |
3 | libfiber | 704 |
4 | minicoro | 531 |
5 | Melang | 400 |
6 | lua-eco | 51 |
7 | Medge | 3 |