{"adoption": {"forks": 305, "observed_at": "2026-08-28T04:07:04.708706+00:00", "stars": 2618}, "canonical_url": "https://ross.abutalabs.com/products/cpu_features", "card": {"archived": false, "artifact_type": "library", "description": "A cross platform C99 library to get cpu features at runtime.", "domain": ["developer-tools", "hardware", "cross-platform"], "enriched": true, "function": ["developer-tools"], "health_score": 95, "homepage": null, "language": "C++", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["google/cpu_features"], "name": "google/cpu_features", "platform": ["windows", "cpp", "c"], "pushed_at": "2026-07-20T12:30:47+00:00", "repo": "google/cpu_features", "stars": 2618, "tags": ["cpu-features", "runtime-detection", "c99", "microarchitecture", "instruction-set", "simd", "cross-platform", "linux", "macos"], "topics": ["cpu-features", "cpu", "cross-platform", "microarchitecture"], "urls": [], "use_cases": ["detect cpu instruction set support at runtime", "check if simd extensions like avx2 or neon are available", "write portable code that dispatches to optimized code paths per cpu", "query cpu microarchitecture and cache info in c or c++", "avoid illegal instruction crashes on older cpus"], "what_it_is": "A cross-platform C99 library from Google for detecting CPU features (like available instruction sets) at runtime. It supports many architectures including x86/amd64, AArch64, ARM, MIPS, POWER, RISC-V, and s390x.", "when_to_avoid": ["you only target a single fixed CPU architecture and can rely on compile-time flags", "you need GPU or accelerator capability detection rather than CPU features", "you work in a language ecosystem with its own built-in CPUID facilities"], "when_to_choose": ["you need reliable runtime CPU feature detection across many architectures and operating systems", "you are writing performance-critical C/C++ code with multiple optimized code paths", "you want a small, well-tested, Apache-2.0 licensed C library maintained by Google"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cpu_features", "repo": "google/cpu_features", "role": "main", "score": 81}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "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:07:04.708706+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.708706+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:20:22.497304+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53ead11924f4941658b90bd08b2d36939503422d0013ec388ec8d742de788008", "fetched_at": "2026-08-28T04:07:04.708706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cpu_features"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 54}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3136, "days_push": 44, "days_rel": 93, "gap_med": 197.0, "n_releases_24m": 3}, "score": 81, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}