redorav/hlslpp
Math library using HLSL syntax with multiplatform SIMD support observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 94
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 154
- age_days: 3507
- days_rel: 109
- days_push: 37
- n_releases_24m: 6
Adoption not part of the score
1145 stars · 71 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A header-only C++ math library that mirrors HLSL shading language syntax, including vectors, matrices, quaternions, swizzling, and data packing. It uses SIMD (SSE/AVX, NEON, WASM) for fast, portable math aimed primarily at game developers bridging C++ and shader code.
Use cases
- write C++ math code with HLSL shader syntax
- fast SIMD vector and matrix math in C++
- share math code between C++ engine and shaders
- cross-platform SIMD math for ARM and x86
- quaternion and matrix transformations in games
- pack and unpack color data efficiently
When to choose
- you want HLSL-compatible math syntax in C++ for game or graphics code
- you need portable SIMD-accelerated math across x86, ARM, and WASM
- you want a header-only dependency with no build step
When to avoid
- you need a full game engine or rendering framework, not just math
- your project targets platforms without SIMD extensions or anonymous-union C++ support
- you prefer a general-purpose linear algebra library with non-HLSL conventions
Facets
library · maturity active
math graphics simulation graphics cross-platform cpp windows wasm game-engine hlsl simd header-only sse avx neon vector-math quaternion matrix shaders swizzling game-development linux macos android ios
1 source
- readme: https://github.com/redorav/hlslpp · fetched 2026-08-28 · 66e6126c775c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| redorav/hlslpp | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem