Hacker News new | ask | show | jobs
by porphyra 1943 days ago
Yes!!! Linear algebra!

I am a huge fan of nalgebra and having const generics would make the API and implementation much nicer.

Hopefully the robotics industry can move towards implementing stuff in Rust. Having low level robotics algorithms like state estimation and SLAM in Rust makes perfect sense.

1 comments

Have you tried working with rust-ndarray (the closest thing to NumPy in Rust)? While I love Rust for general work, unfortunately for numeric programming, compared to NumPy itself, it's like pulling teeth. There's a lot which is completely missing: the main thing for me is (boolean) masks, which means there's no element-wise comparison of ndarrays.
It's a cliche for open-source libraries, but ndarray could use more documentation.

A lot more.

A really whole lot more.

"Pulling teeth" is how I'd describe ndarray currently.