C Coroutines

Open-source C projects categorized as Coroutines

Top 10 C Coroutine Projects

  • tbox

    🎁 A glib-like multi-platform c library

  • swow

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

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

  • umka-lang

    Umka: a statically typed embeddable scripting language

    Project mention: VDrift: Cross-Platform Driving Simulation | news.ycombinator.com | 2023-12-28
  • zpl

    📐 Pushing the boundaries of simplicity

  • felix

    The Felix Programming Language (by felix-lang)

    Project mention: Felix: Statically typed, performant scripting language with native C++ embedding | news.ycombinator.com | 2023-12-28
  • libfiber

    The high performance c/c++ 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.

  • 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.

  • Tina

    Tina is a teeny tiny, header only, coroutine and job library.

    Project mention: Bunki, a C Coroutine Library | news.ycombinator.com | 2023-03-13
  • QuarkTS

    An open-source OS for embedded applications that supports prioritized cooperative scheduling, time control, inter-task communications primitives, hierarchical state machines and CoRoutines.

  • lua-resty-ffi

    lua-resty-ffi provides an efficient and generic API to do hybrid programming in openresty/envoy with mainstream languages (Go, Python, Java, Rust, Nodejs, etc.).

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-12-28.

C Coroutines related posts


What are some of the best open-source Coroutine projects in C? This list will help you:

Project Stars
1 tbox 4,636
2 swow 1,106
3 umka-lang 955
4 zpl 949
5 felix 783
6 libfiber 710
7 minicoro 553
8 Tina 243
9 QuarkTS 163
10 lua-resty-ffi 72
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives