Description
Thermite is a portable SIMD library for Rust. You write a numeric kernel once, generic over a small trait hierarchy, and that one function compiles to high-performance code for each instruction set and vector width. The same unchanged function can also compute its own derivatives using a Dual type, run in double-double precision with a Compensated type, or evaluate over the complex plane with a Complex type. The project includes a policy-tunable vectorized math library that covers ordinary transcendental functions and special functions. It works on stable Rust and is no_std by default. This repository is the Cargo workspace for Thermite and its companion crates. The README includes an example kernel and a #[thermite::dispatch] attribute, and it lists the backends. The history section explains that the project began while the author worked on the Raygon renderer, where a SoA-focused SIMD library was wanted. The first prototype had too many leaky abstractions, and the author says Rust in 2020 was too limited for the design. Renewed work in 2025 relied on const generics, a better trait solver and wider stable intrinsics.…
Highlights
- Write one numeric kernel for all SIMD widths
- Automatic derivatives with a Dual type
- Double-double precision with Compensated
- Complex plane evaluation with Complex
- Vectorized math library that works on stable Rust
Ratings & Reviews
No ratings yet
Be the first to rate Thermite.
People also visit
Thermite FAQ
What is Thermite?
A portable SIMD library for Rust that lets you write one numeric kernel and compile it to fast code for many instruction sets.
Does it need nightly Rust?
No. The README says it works on stable Rust.
Is it no_std?
Yes. It is no_std by default.
What can the same code compute?
Plain SIMD results, derivatives with Dual, double-double precision with Compensated, or complex values with Complex, depending on the type you use.
What is in this repository?
The Cargo workspace for Thermite and its companion crates.
What are the best Thermite alternatives?
Popular alternatives to Thermite include Rust Algorithms, RTM and GPU.js. See all Thermite alternatives







