News for hackers. Stuff that matters.
Re:Faer-rs: Linear algebra foundation for the Rust programmi... by arijun on Wednesday April 24, 2024 @11:18AM (#40145408)
In a few fields of rust we are starting to see a convergence of lower level libraries that then can be shared amongst the higher level crates. For example, wgpu is seeing broad use across a bunch of libraries from game engines to UI libraries. This then allows the shared libraries to be made more robust, with more shared resources going into them.

Does anyone know how much of this is happening in the matrix/array space in rust? There are several libraries that have overlapping goals: ndarray, nalgebra, etc. How much do they share in terms of underlying code? Do they share data structures, or is anything like that on the horizon?

Re:Faer-rs: Linear algebra foundation for the Rust programmi... by sarah-ek on Wednesday April 24, 2024 @11:39AM (#40145704)
as far as i know, very little is shared. ndarray-linalg is mostly a lapack wrapper. nalgebra and faer both implement the algorithms from scratch, with nalgebra focusing more on smaller matrices
Re:Faer-rs: Linear algebra foundation for the Rust programmi... by antimora on Wednesday April 24, 2024 @11:34AM (#40145638)
WGPU is also used by Burn deep learning framework and WONNX for computation.