yann-shi/libcsp
A concurrency C library 10x faster than Golang. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2340
- days_rel: n/a
- days_push: 1160
- n_releases_24m: 0
Adoption not part of the score
1345 stars · 76 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libcsp is a high-performance concurrency library for C implementing the Communicating Sequential Processes (CSP) model, inspired by Go's goroutines and channels. It provides a multi-core scheduler, lock-free channels, compile-time stack analysis, and netpoll/timer support.
Use cases
- write concurrent C programs with goroutine-like coroutines
- communicate between tasks using channels in C
- build high-throughput network servers in C
- replace threads with lightweight coroutines for better performance
- implement CSP-style message passing in C applications
When to choose
- you need Go-style concurrency in a C codebase
- raw scheduling and channel performance is critical
- you want lightweight coroutines across multiple CPU cores
When to avoid
- your project is in Go, Rust, or another language with native async/concurrency
- you need a battle-tested, widely-adopted concurrency runtime
- you require extensive documentation and community support
Facets
library · maturity active
concurrency developer-tools programming-languages performance cpp c csp coroutines channels lock-free scheduler golang-inspired linux macos
1 source
- readme: https://github.com/yann-shi/libcsp · fetched 2026-08-28 · c5ba90144329
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yann-shi/libcsp | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem