# yyzybb537/libgo

Go-style concurrency in C++11

Repository: https://github.com/yyzybb537/libgo
Canonical: https://ross.abutalabs.com/products/libgo
Language: C++
License: MIT
License Family: permissive
Topics: c-plus-plus, coroutine, libgo
Last push: 2023-07-03T03:31:22+00:00

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

## Adoption (not part of the score)
Stars 3308, forks 752 (observed 2026-08-28T04:07:55.908417+00:00)

## What it is
libgo is a stackful coroutine library with collaborative scheduling written in C++11, bringing Go-style concurrency to C++. It also provides parallel programming primitives like channels, co_mutex, co_rwmutex, and timers, and can hook synchronous third-party libraries to make them asynchronous.

## Use cases
- write go-style coroutines in c++
- make synchronous database clients like mysqlclient or hiredis asynchronous
- run millions of lightweight coroutines with low memory
- avoid thread-per-connection in high concurrency servers
- add channels and mutexes for cooperative multithreading in c++

## When to choose
- you want golang-like synchronous-looking code with async performance in C++
- you need to use synchronous DB drivers (MySQL, hiredis) in a high-concurrency async server without rewriting them
- you need massive coroutine counts with modest memory usage
- you target Linux, macOS, or Windows with C++11

## When to avoid
- you can use C++20 native coroutines or asio and prefer standard solutions
- your project is not on Linux, macOS, or Windows
- you need a library with active ongoing development and large community
- you only need simple threading without cooperative scheduling

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, networking
- domain: developer-tools, backend, performance
- platform: windows, cpp
- tags: coroutines, stackful-coroutine, go-style-concurrency, async, hooking, c-plus-plus-11, linux, macos

## Member repositories
- yyzybb537/libgo (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.908417+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:42:37.874054+00:00, confidence not recorded.
  - readme: https://github.com/yyzybb537/libgo (fetched 2026-08-28T04:07:55.908417+00:00, sha 002927bf506c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
