# bitshifter/glam-rs

A simple and fast linear algebra library for games and graphics

Repository: https://github.com/bitshifter/glam-rs
Canonical: https://ross.abutalabs.com/products/glam-rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, simd, 3d-math-libraries, sse2
Last push: 2026-08-26T11:58:51+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2885, "days_push": 7, "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 2035, forks 201 (observed 2026-08-28T04:06:07.868993+00:00)

## What it is
glam is a fast linear algebra library for Rust providing vectors, matrices, quaternions, and affine transformation types for games and graphics. It leverages 128-bit SIMD (SSE2, NEON, simd128) for high-performance math on x86, ARM, and WebAssembly targets.

## Use cases
- 3d math for a game engine in rust
- vector and matrix operations for graphics programming
- quaternion rotations for camera and physics
- simd-accelerated linear algebra in rust
- affine transforms for 2d and 3d rendering
- math library for a wasm game or graphics app

## When to choose
- you need fast, simd-optimized vectors, matrices, and quaternions in Rust
- you are building a game, renderer, or physics simulation in Rust
- you need a wide range of scalar types (f32, f64, integer, bool vectors)
- you target x86, aarch64, or wasm and want SIMD by default

## When to avoid
- you need arbitrary-precision or symbolic math
- you need GPU shader math rather than CPU-side math
- you need n-dimensional or sparse linear algebra like nalgebra/lapack features
- you require a stable portable SIMD path on stable Rust

## Facets
- artifact type: library
- maturity: stable
- function: math, graphics, simulation
- domain: graphics, performance
- platform: rust, cross-platform, wasm
- tags: linear-algebra, simd, vectors, matrices, quaternions, 3d-math, game-math, game-development, algorithms, gpu

## Member repositories
- bitshifter/glam-rs (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.868993+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-30T02:59:21.165003+00:00, confidence not recorded.
  - readme: https://github.com/bitshifter/glam-rs (fetched 2026-08-28T04:06:07.868993+00:00, sha 739b75316605)
- Data as of 2026-08-30T08:39:29.467469+00:00.
