cloudwu/coroutine
A asymmetric coroutine library for C. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5154
- days_rel: n/a
- days_push: 1356
- n_releases_24m: 0
Adoption not part of the score
2522 stars · 678 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small asymmetric coroutine library for C, similar to Lua's coroutines. Coroutines in a schedule share a single stack, so many coroutines can be created cheaply, with stack copying on context switch.
Use cases
- add cooperative multitasking to a C program
- implement lightweight coroutines in C like Lua's
- run many coroutines with low memory overhead
- write asynchronous-style code in a synchronous style in C
- embed coroutines into a game server or engine
When to choose
- you need simple, dependency-free coroutines in pure C
- memory efficiency matters and shared-stack coroutines fit your workload
- you want a small, readable codebase to embed or study
When to avoid
- you need symmetric coroutines or goroutine-style scheduling
- you need per-coroutine stacks without copy overhead
- you're working in a language with native async/coroutine support
Facets
library · maturity stable
concurrency developer-tools programming-languages c cross-platform coroutines asymmetric-coroutines stackful c-library context-switching
1 source
- readme: https://github.com/cloudwu/coroutine · fetched 2026-08-28 · 993d9e33c6ed
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cloudwu/coroutine | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="cloudwu/coroutine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem