Skip to content
← All articles
Article

Dimension (mathlib)

Listen to the audio story

Dimension and mathlib · 0:50 · AI-written script, synthetic voices

Transcript

Ava: Linear algebra in the browser, written in Rust. That's the pitch behind a repo of Antoine's called Dimension.

Andrew: Rust in a browser? How?

Ava: WebAssembly. The heart of the repo is a Rust crate called mathlib, and it ships with WebAssembly demos so you can try it on a web page.

Andrew: What can mathlib do?

Ava: Dense and sparse linear algebra, matrix decompositions, 3D math, clustering, graph algorithms and transforms. It also has optional SIMD and GPU features if you want more speed.

Andrew: So it's a math toolbox.

Ava: Right, and the Dimension repo wraps it with kinematics, physics, rendering experiments and documentation. To try it, you build and test from the mathlib folder with cargo. The full page links the repo, the crate docs and the architecture notes.

Table of contents

Dimension

GitHub last commit

Repository · mathlib on docs.rs

mathlib is a Rust crate for dense and sparse linear algebra, decompositions, 3D math, clustering, graph algorithms, transforms, and more—with WebAssembly demos and optional SIMD / GPU features. The Dimension repo wraps that crate alongside kinematics, physics, rendering experiments, and documentation.

Quick start

cd mathlib && cargo build
cd mathlib && cargo test

See the root README and docs/DOCS.md for architecture and examples.