4 ms·
How do these numbers stack up to equivalent algorithms in C and Fortran? Are we going to see a RustBLAS soon? Something open-source that could go up against MK
by nerdponx 9y ago
How do these numbers stack up to equivalent algorithms in C and Fortran?
Are we going to see a RustBLAS soon? Something open-source that could go up against MKL for performance would be really amazing.
- fnl 9y agoIt would be cool to have some equivalent of a complete BLAS implementation in pure Rust, but I am not sure how sensible/economically viable that would be. But there do exist Rust creates built on top of existing BLAS libraries, e.g. https://github.com/mikkyang/rust-blas https://github.com/mikkyang/rust-blas Rather, I'd like to have something like Python's Numpy for Rust, not sure there is something equivalent to that, but this faster crate certainly is a step in that direction, conceptually at least.
- adrianN 9y agoWhat's the point of reimplementing BLAS in Rust? Those libraries have been polished for literally decades. They're not even security critical.
- nerdponx 9y agoNo point of doing it in Rust specifically, as opposed to any other language. But the point would be no longer having to trade software freedom (or at least open source) for performance -- try benchmarking Numpy built on MKL vs OpenBLAS and you'll see what I mean. If someone gets inspired by a new language to try and write a free or open-source MKL competitor, because that language has such-and-such features that make it more feasible than in Fortran or C, then that'd be fantastic. All I was suggesting is that it'd be cool if Rust was that language.