# yaLanTingLibs

A collection of modern C++ libraries, include coro_http, coro_rpc, compile-time reflection, struct_pack, struct_json, struct_xml, struct_pb, easylog, async_simple etc.

Repository: https://github.com/alibaba/yalantinglibs
Canonical: https://ross.abutalabs.com/products/yalantinglibs
Homepage: https://alibaba.github.io/yalantinglibs/
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2026-08-22T08:43:42+00:00
Link (homepage): https://alibaba.github.io/yalantinglibs/

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 81, longevity 100
- inputs: {"age_days": 1412, "days_push": 11, "days_rel": 126, "gap_med": 15.5, "n_releases_24m": 25}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2171, forks 328 (observed 2026-08-28T04:06:21.800558+00:00)

## What it is
async_simple is a lightweight C++20 library providing easy-to-use asynchronous programming components, including Lazy (stackless coroutines), Uthread (stackful coroutines), and Future/Promise. It is part of Alibaba's yalantinglibs suite and is nearly header-only, installable via vcpkg or CMake.

## Use cases
- write asynchronous C++ code with C++20 coroutines
- lazy evaluation with stackless coroutines in C++
- lightweight stackful coroutines for concurrent tasks
- modern future/promise alternatives for C++
- async file processing in C++
- high-performance concurrent networking components

## When to choose
- you need C++20 coroutine support in a C++ project
- you want a lightweight, mostly header-only async library
- you need both stackful and stackless coroutine options
- you're building high-performance C++ services with async I/O

## When to avoid
- your compiler is older than gcc 10.3 or clang 10
- you need a full networking framework rather than async primitives
- your project targets C++ standards before C++20

## Facets
- artifact type: library
- maturity: active
- function: concurrency, developer-tools
- domain: developer-tools, performance, backend
- platform: cpp, windows, cross-platform
- tags: coroutines, cpp20, async, stackless-coroutines, stackful-coroutines, future-promise, header-only, linux, macos

## Member repositories
- alibaba/yalantinglibs (main) score 93
- alibaba/async_simple (sdk) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.800558+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-30T02:47:16.012554+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/yalantinglibs (fetched 2026-08-28T04:06:21.800558+00:00, sha 626a33d3365d)
  - homepage: https://alibaba.github.io/yalantinglibs/ (fetched 2026-08-29T10:27:35.260205+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
