#vector-math #algebra #vector

nightly coral-blas

a pure-rust safe blas implementation

3 releases

Uses new Rust 2024

0.3.2 Nov 25, 2025
0.3.1 Nov 25, 2025
0.2.1 Nov 1, 2025
0.1.5 Nov 1, 2025

#2761 in Math

MIT license

175KB
5K SLoC

crates.io docs.rs license

CORAL

Core Rust Architecture for Linear Algebra. This is a pure-Rust implementation of BLAS routines that is fully safe, and uses portable-simd; it's applicable for all architectures and has no dependencies.

coral uses a more idiomatic, modern API to be fully-safe. However, an unsafe fortran77 wrapper conforming to the legacy BLAS API is also provided.

Only single-precision routines are implemented, and it needs nightly.

Here are some benchmarks.

Dependencies

~0–450KB
~10K SLoC