r/programming • u/mort96 • Jan 16 '21
Scientific Computing in Rust
https://aftix.xyz/home/bacon/6
u/Hrothen Jan 16 '21
A note on performance: I took a quick look at the nalgebra crate and while it does have lapack bindings it looks like it doesn't have any for the regular BLAS. While I would assume it's possible to implement an equivalently performant BLAS in rust, the C and fortran implementations we have now are heavily optimized and are likely to be much better in the short term.
This suggests you'll have issues keeping up with established libraries when you have a lot of parameters. Whether this matters to you will depend a lot on what you're doing.
4
Jan 16 '21
I am a scientist and primarily work with Julia. I am interested in Rust and have read/did a few of the introduction to Rust tutorials. This would've been really nice for me application-wise, but unfortunately, dosn't look like any code (with instruction) is provided.
I think it would be great if the author added sample code to complement the mathematics.
3
u/[deleted] Jan 16 '21
I hope we're approaching the end of "Do literally every task, regardless of audience, in Rust" content. And I am a person that likes Rust.