cpuid
« Back to VersTracker
Description:
CPU feature identification for Go
Type: Formula  |  Latest Version: 2.3.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: golang cpu hardware optimization library
Install: brew install cpuid
About:
cpuid is a Go library that provides low-level CPU feature detection and identification. It allows Go applications to query the CPU's capabilities at runtime, enabling developers to optimize performance by selecting algorithms tailored to specific processor features like AVX2 or SSE4. This library is essential for building high-performance, hardware-aware Go software.
Key Features:
  • Runtime CPU feature detection (e.g., AVX, SSE, AES)
  • Access to CPU vendor, model, and family information
  • Cross-platform support for x86 and ARM architectures
  • Zero-dependency, pure Go implementation
Use Cases:
  • Optimizing cryptographic libraries by using hardware-accelerated instructions
  • Selecting the fastest math or data processing algorithm for the host CPU
  • Diagnostics and system information tools written in Go
Alternatives:
  • go-cpuid – Alternative library with similar goals, though cpuid is widely considered the standard for Go projects.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 8:29pm 0 VERSION_BUMP 6e2e311d