# lewissbaker/cppcoro

A library of C++ coroutine abstractions for the coroutines TS

Repository: https://github.com/lewissbaker/cppcoro
Canonical: https://ross.abutalabs.com/products/cppcoro
Language: C++
License: MIT
License Family: permissive
Topics: coroutines, cplusplus, asynchronous-programming, async-await, coroutines-ts, windows, msvc, clang, cpp, async, asyncio, linux
Last push: 2024-01-09T06:59:48+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3453, "days_push": 967, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3874, forks 507 (observed 2026-08-28T04:08:27.858337+00:00)

## What it is
CppCoro is a C++ library providing general-purpose coroutine abstractions built on the Coroutines TS, including task and generator types, awaitable synchronization primitives, schedulers, and async file/networking I/O. It is an experimental exploration of high-performance asynchronous programming primitives for C++.

## Use cases
- write async await style code in C++
- lazy sequence generation with coroutines
- await multiple tasks concurrently with when_all
- async file and socket I/O with coroutines
- cancellable asynchronous operations
- build a static thread pool for coroutine scheduling

## When to choose
- you need coroutine primitives (task, generator, async generators) on MSVC or Clang with Coroutines TS support
- you want lightweight async synchronization primitives and cancellation tokens
- you are exploring high-performance async C++ patterns

## When to avoid
- you need C++20 std::coroutine support with active maintenance and broad compiler coverage
- you need production networking with TLS, HTTP clients, or cross-platform guarantees
- you need a library with frequent updates and long-term support commitments

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, http-server, developer-tools
- domain: developer-tools, programming-languages, performance
- platform: cpp, windows
- tags: coroutines, async-await, cpp, task, generator, thread-pool, io-service, linux, macos

## Member repositories
- lewissbaker/cppcoro (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.858337+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:47.031082+00:00, confidence not recorded.
  - readme: https://github.com/lewissbaker/cppcoro (fetched 2026-08-28T04:08:27.858337+00:00, sha 57f5a17e36d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
