C Coroutine

Open-source C projects categorized as Coroutine

Top 7 C Coroutine Projects

  • libaco

    A blazing fast and lightweight C asymmetric coroutine library 💎 ⛅🚀⛅🌞

    Project mention: Splitting the stack - is there a library for this? | /r/C_Programming | 2023-05-17
  • swow

    Coroutine-based cross-platform concurrent I/O engine.

    Project mention: Running PHP with io_uring | /r/PHP | 2023-03-27
  • 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)

  • minicoro

    Single header stackful cross-platform coroutine library in pure C.

    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.

  • Melang

    A script language of time-sharing scheduling coroutine in single thread

    Project mention: User space dynamic tracing and feedback control | dev.to | 2023-02-03

    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.

    Project mention: Lua-Eco | news.ycombinator.com | 2023-03-10
  • Medge

    Medge is a new HTTP API server with preemptive scheduling co-routine programming language as its developing language.

    Project mention: Step-sharing scheduling Coroutine HTTP Server | dev.to | 2023-09-01

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-01.

C Coroutine related posts


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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives