schlegelp / fastcore-rs

Reimplementation of navis functions in Rust.
https://schlegelp.github.io/fastcore-rs/
GNU General Public License v3.0
1 stars 0 forks source link

Consider nblast-rs #1

Open clbarnes opened 10 months ago

clbarnes commented 10 months ago

Or if there's anything nblast-rs is missing, raise an issue! https://crates.io/crates/nblast

schlegelp commented 10 months ago

I mainly added a simple NBLAST implementation to this library to (a) try out bosque for NN calculations and (b) benchmark performance against that in NBLAST in navis - turns out gains are minimal but I like how easy multithreading is in rust.

I also freely admit that I didn't understand half the rust code in nblast-rs 😅

If fastcore-rs ever makes it from the "Philipp tinkers with Rust" stage to something actually useful, I'll definitely look into using nblast-rs.

clbarnes commented 10 months ago

Learning rust by tinkering with connectomics libraries nobody will ever use is a perfectly valid strategy ;)

Bosque does look interesting - that developer's 3rd ANN library! Working on slices makes it trickier to use with nblast-rs but it's probably worth a benchmark.