matrixmultiply
faer-rs
Our great sponsors
matrixmultiply | faer-rs | |
---|---|---|
4 | 25 | |
202 | 1,205 | |
- | - | |
6.0 | 7.9 | |
about 1 month ago | 5 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
matrixmultiply
-
Help understanding the state of ndarrays and linalg in Rust.
The matrixmultiply crate from the ndarray author (https://github.com/bluss/matrixmultiply) is one such implementation. It uses the same algorithm as the BLIS project (https://www.cs.utexas.edu/users/flame/pubs/TOMS-BLIS-Analytical.pdf) to partition the problem and exploit the cache hierarchy. It isn't as well tuned as eg. Intel MKL or BLIS, but the results are very respectable.
-
faer 0.8.0 release
Do you plan to support integers as native types? I know there is an issue for the crate matrixmultiply for that, it seems it can be problematic because of overflow.
-
Faster `matrixmultiply` ?
There's a famous crate [matrixmultiply](https://github.com/bluss/matrixmultiply) for matrix-matrix multiplication in Rust. But it's a bit slow for me.
-
Nim vs Rust Benchmarks
In my benchmarks, Nim is faster than Rust:
- multithreading runtime (i.e Rayon vs Weave https://github.com/mratsim/weave)
- Cryptography: https://hackmd.io/@gnark/eccbench#Pairing
- Scientific computing / matrix multiplication: https://github.com/bluss/matrixmultiply/issues/34#issuecomme...
There is no inherent reason why a Nim program would be slower than Rust.
faer-rs
- faer 0.16 release, a general purpose (dense/sparse) linear algebra library
- faer 0.14 release, a general purpose (dense/sparse) linear algebra library
-
faer 0.13 release, a general purpose linear algebra library
see the official website and the docs.rs documentation for code examples and usage instructions.
- Announcing faer 0.11, a general purpose linear algebra library
-
Faer 0.11, a general purpose linear algebra library written in Rust
`faer` is a collection of crates that implement linear algebra routines in pure Rust. the aim is to eventually provide a fully featured library for linear algebra with focus on portability, correctness, and performance.
see the [official website](https://faer-rs.github.io) and the docs.rs documentation for code examples and usage instructions.
---
this release implements the initial design of the high level api (see https://docs.rs/faer/0.11.0/faer/), which should allow users to get started with writing easy to read code without having to deal with managing memory or multithreading settings on their own.
i also added a thin compatibility layer with ndarray and nalgebra. this way users are able to mix and match libraries if they wish to do so, or to help with migration to different libraries
-
Help understanding the state of ndarrays and linalg in Rust.
Faer is comparable to Eigen in most of their benchmarks, so they are getting closer.
-
faer 0.9 release: low level linear algebra library
performance compared to openblas is shown in the benchmarks on the repository, and on the website. (ndarray is using openblas)
-
Has anyone worked on a math library before?
currently working on a very efficient linear algebra library https://github.com/sarah-ek/faer-rs
-
Announcing Clarabel : interior point solver for convex optimization
We are also watching this project, which when a bit further along could allow us to support a purely Rust version with no recourse to external blas/lapack libraries in the SDP case.
What are some alternatives?
weave - A state-of-the-art multithreading runtime: message-passing based, fast, scalable, ultra-low overhead
calloop - A callback-based Event Loop
rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
MultiFloats.jl - Fast, SIMD-accelerated extended-precision arithmetic for Julia
Programming-Language-Benchmarks - Yet another implementation of computer language benchmarks game
IfcOpenShell - Open source IFC library and geometry engine
Programming-Language-Benchmark
linfa-linalg
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
manim - Animation engine for explanatory math videos
matrixmultiply_mt - A Multithreaded, processor specialized, fork of the matrixmultiply crate