# xtensor-stack/xsimd

C++ wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, AVX512, NEON, SVE, WebAssembly, VSX, RISC-V))

Repository: https://github.com/xtensor-stack/xsimd
Canonical: https://ross.abutalabs.com/products/xsimd
Homepage: https://xsimd.readthedocs.io/
Language: C++
License: BSD-3-Clause
License Family: permissive
Topics: simd-intrinsics, vectorization, simd, cpp, avx, neon, sse, avx512, simd-instructions, mathematical-functions, sve, vsx, wasm, cpp17
Last push: 2026-08-21T22:17:21+00:00

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

## Adoption (not part of the score)
Stars 2740, forks 306 (observed 2026-08-28T04:07:16.492957+00:00)

## What it is
xsimd is a C++ library providing unified wrappers over SIMD intrinsics (SSE, AVX, AVX512, NEON, SVE, WebAssembly, VSX, RISC-V) so the same code runs across architectures. It lets you manipulate batches of numbers with standard arithmetic operators and includes optimized parallelized mathematical functions.

## Use cases
- write portable SIMD-accelerated numeric code across x86 and ARM
- speed up math-heavy loops with vectorized batches
- use SIMD intrinsics without writing per-architecture code
- accelerate mathematical functions like exp, sin, log on batches
- target WebAssembly SIMD from C++
- build a numeric library that supports multiple SIMD ISAs

## When to choose
- you need explicit SIMD vectorization with a portable C++ API
- you want to support many ISAs (x86, ARM, RISC-V, WASM) from one codebase
- you are writing performance-critical math or signal processing code in C++

## When to avoid
- you want the compiler to auto-vectorize without explicit SIMD code
- you need GPU acceleration rather than CPU SIMD
- your project is not C++17-capable

## Facets
- artifact type: library
- maturity: stable
- function: math, graphics, developer-tools
- domain: performance, developer-tools
- platform: cpp, cross-platform, wasm
- tags: simd, vectorization, sse, avx, avx512, neon, sve, risc-v, wasm, vsx, cpp17, header-only, mathematical-functions, algorithms, gpu

## Member repositories
- xtensor-stack/xsimd (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.492957+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-30T08:19:10.624660+00:00, confidence not recorded.
  - readme: https://github.com/xtensor-stack/xsimd (fetched 2026-08-28T04:07:16.492957+00:00, sha 583e5b8bab60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
