# chenyahui/AnnotatedCode

知名开源代码库的注释版：C++、Golang等

Repository: https://github.com/chenyahui/AnnotatedCode
Canonical: https://ross.abutalabs.com/products/annotatedcode
Homepage: https://www.cyhone.com
Language: C
License Family: other
Archived: true
Last push: 2023-02-25T02:07:47+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3299, "days_push": 1286, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1370, forks 313 (observed 2026-08-28T04:04:31.884906+00:00)

## What it is
A collection of annotated versions of well-known open-source projects (libco, muduo, Redis, groupcache, Go standard library internals, etc.) with the author's comments explaining the code. It accompanies a Chinese blog with in-depth source code analysis articles.

## Use cases
- understand how libco implements coroutines
- learn how redis event loop works by reading annotated source
- study golang channel and timer internals
- learn how uber-go ratelimit implements the leaky bucket
- understand consistent hashing via groupcache source
- read annotated muduo reactor network library code

## When to choose
- you want to learn systems programming by reading commented C/C++ and Go source code
- you prefer guided source-code reading with blog explanations over raw upstream code
- you study coroutine, networking, caching, or rate-limiting implementations

## When to avoid
- you need production-ready libraries - use the original upstream projects instead
- you need up-to-date annotated versions of the latest releases
- you cannot read Chinese comments and blog posts

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, documentation
- domain: developer-tools, tutorials, programming-languages
- platform: cpp, go, cross-platform
- tags: annotated-source-code, source-code-analysis, coroutines, networking, rate-limiting, redis, golang-internals, chinese

## Member repositories
- chenyahui/AnnotatedCode (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.884906+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-30T04:40:54.360875+00:00, confidence not recorded.
  - readme: https://github.com/chenyahui/AnnotatedCode (fetched 2026-08-28T04:04:31.884906+00:00, sha 8b9440573176)
  - homepage: https://www.cyhone.com (fetched 2026-08-29T11:57:38.320694+00:00, sha 48d04ad9a3e0)
  - site_page: https://www.cyhone.com/about (fetched 2026-08-29T11:57:38.323625+00:00, sha c0c59cbdea65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
