Rust Computation

Open-source Rust projects categorized as Computation

Top 17 Rust Computation Projects

  • nalgebra

    Linear algebra library for Rust.

    Latest mention: Physics simulation with Rapier: 2021 roadmap | | 2021-01-01

    I tried to use min-const-generics today, and I can say that, yes, we will use it once the version 1.51 is released! Here is a PR that makes nalgebra switch to const-generics for statically-sized matrices/vectors:

  • nphysics

    2 and 3-dimensional rigid body physics engine for Rust.

  • emu

    The write-once-run-anywhere GPGPU library for Rust

  • ncollide

    2 and 3-dimensional collision detection library in Rust.

  • cgmath

    A linear algebra and mathematics library for computer graphics.

  • arrayfire-rust

    Rust wrapper for ArrayFire

    Latest mention: State of CUDA on Rust in the beginning of 2021 ? | | 2020-12-30

    edit: I apparently missed seeing ArrayFire Rust library. It looks like if you wanted to still use Rust and CUDA this might be your best option for at least compute applications.

  • collenchyma

    Extendable HPC-Framework for CUDA, OpenCL and common CPU

  • rulinalg

    A linear algebra library written in Rust

  • statrs

    Statistical computation library for Rust

  • scirust

    Scientific Computing Library in Rust

  • QuantMath

    Financial maths library for risk-neutral pricing and risk

    Latest mention: QuantMath: Financial maths library for risk-neutral pricing and risk in Rust | | 2021-01-17

    Fun, but seems extremely limited. I can't see a way to bootstrap a yield curve for interest rates, which is the first thing i would need to do. The standard model for curves seems to bake in assumptions about day count convention and interpolation:

    There is no provision for swaps or futures. Perhaps this is not aimed at rates use cases?

  • rust-opencl

    OpenCL bindings for Rust.

  • rust-GSL

    A GSL (the GNU Scientific Library) binding for Rust

  • rust-blas

    BLAS bindings for Rust

  • lapack

    Wrappers for LAPACK (Fortran)

  • rustimization

    Collection of Optimization algorithm in Rust

  • blas

    Wrappers for BLAS (Fortran)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).


What are some of the best open-source Computation projects in Rust? This list will help you:

Project Stars
1 nalgebra 1,949
2 nphysics 1,450
3 emu 1,336
4 ncollide 874
5 cgmath 746
6 arrayfire-rust 509
7 collenchyma 448
8 rulinalg 247
9 statrs 230
10 scirust 216
11 QuantMath 212
12 rust-opencl 166
13 rust-GSL 122
14 rust-blas 74
15 lapack 52
16 rustimization 43
17 blas 42