Ross ROSS = Recommend OSS · open-source software intelligence for agents

klauspost/cpuid

CPU feature identification for Go observed · 2026-08-28

github.com/klauspost/cpuid · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

85/100

  • Activity 93
  • Release rhythm 66
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 114.5
  • age_days: 4160
  • days_rel: 64
  • days_push: 44
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1216 stars · 149 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A pure-Go library that detects CPU features and information (vendor, cores, caches, instruction set support) at startup for fast access. Supports x86/x64, ARM64, and RISC-V without cgo, and includes a CLI binary for printing CPU details.

Use cases

  • detect if the CPU supports AVX2 before using SIMD code paths
  • get CPU brand name, core count, and cache sizes in Go
  • check for SSE4.2 or AES-NI support at runtime
  • build CPU-dispatched optimized code in Go
  • print CPU information from the command line
  • avoid cgo when identifying CPU features

When to choose

  • you need runtime CPU feature detection in Go without cgo
  • you want to gate optimized code paths on instruction set availability
  • you need detailed CPU info like cache sizes and frequency

When to avoid

  • you need CPU identification on non-x86/ARM/RISC-V architectures
  • you need real-time CPU monitoring or temperature/frequency telemetry
  • you are not programming in Go

Facets

library · maturity stable

developer-tools sdk developer-tools hardware performance go windows cross-platform cpu-detection cpuid hardware-capabilities x86 arm64 riscv no-cgo linux macos

1 source

Member repositories

RepositoryRoleHealth v2
klauspost/cpuidmain85

For agents

markdown · JSON · MCP: product_card(name="klauspost/cpuid")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem