{"adoption": {"forks": 2116, "observed_at": "2026-08-28T04:10:24.237811+00:00", "stars": 8687}, "canonical_url": "https://ross.abutalabs.com/products/libco", "card": {"archived": false, "artifact_type": "library", "description": "libco is a coroutine library which is widely used in wechat  back-end service. It has been running on tens of thousands of machines since 2013.", "domain": ["backend", "developer-tools", "microservices"], "enriched": true, "function": ["concurrency", "http-server", "networking", "middleware"], "health_score": 20, "homepage": null, "language": "C++", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["Tencent/libco"], "name": "Tencent/libco", "platform": ["cpp", "c"], "pushed_at": "2024-03-07T09:08:03+00:00", "repo": "Tencent/libco", "stars": 8687, "tags": ["coroutines", "async", "socket-hook", "epoll", "kqueue", "copy-stack", "wechat", "high-concurrency", "real-time", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["convert synchronous backend services to coroutine-based services for higher concurrency", "write asynchronous network code in a synchronous style using socket hooks", "build back-end services supporting tens of millions of TCP connections", "create coroutines with co_create/co_resume/co_yield for fine-grained control", "hook third-party libraries like mysqlclient, ssl, and gethostbyname for async execution", "build lightweight web/CGI services on top of the built-in epoll/kqueue network framework"], "what_it_is": "libco is a C/C++ coroutine library widely used in WeChat's back-end services since 2013, running on tens of thousands of machines. It transforms synchronous back-end services into coroutine-based services with minimal code changes, offering socket hooks for transparent asynchronous execution and a copy-stack mode supporting tens of millions of TCP connections.", "when_to_avoid": ["you work in a language with native async/await or goroutines", "your project targets Windows or platforms without epoll/kqueue support", "you need a full-featured networking framework rather than a coroutine primitive", "you require a permissive license - the license is not a standard open-source one"], "when_to_choose": ["you need massive concurrency in C/C++ back-end services without rewriting logic", "you want synchronous-style code that executes asynchronously via socket hooks", "you need proven, production-grade coroutine support at extreme scale", "you want pthread-like coroutine APIs with minimal learning curve"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/libco", "repo": "Tencent/libco", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:24.237811+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:25:35.191740+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d4ea59605552c96c812c594d16388e475061630ea8899299511ef73dd6d25dc", "fetched_at": "2026-08-28T04:10:24.237811+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/libco"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3613, "days_push": 909, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}