Live data from Hacker News

Show HN: A fast HNSW implementation in Rust

github.com

11–20 of 30 posts

Re: Show HN: A fast HNSW implementation in Rust

#11
post #2

How does this compare to hsnwlib - is it faster? https://github.com/nmslib/hnswlib

From a quick survey of the implementation probably not very well since, for example, it is using dynamic dispatching for all distance calculations and there are a lot of allocations in the hot-path.

Maybe it would be better to post this repository as a reference / teaching implementation of HNSW.

Re: Show HN: A fast HNSW implementation in Rust

#12
post #5

As a Rust dev myself, can we stop the trend of adding "in Rust" to titles? The loud part should be the thing that was built, not the thing it was built with. That said, this is super cool. I have a project that I can definitely benefit from this. :)

This project is a library so it's actually relevant? The language libraries are written in is one of their most important features because it determines if/when you can use them...

Re: Show HN: A fast HNSW implementation in Rust

#16
post #5

As a Rust dev myself, can we stop the trend of adding "in Rust" to titles? The loud part should be the thing that was built, not the thing it was built with. That said, this is super cool. I have a project that I can definitely benefit from this. :)

I strongly disagree. If I'm looking for one of these libraries then the language is written in is extremely relevant in almost all cases. If I'm writing a Rust program then this is very relevant but if it said "in Java" then I would only use it if I had literally no other choice.

FFI is generally very painful.

Re: Show HN: A fast HNSW implementation in Rust

#18
post #5

As a Rust dev myself, can we stop the trend of adding "in Rust" to titles? The loud part should be the thing that was built, not the thing it was built with. That said, this is super cool. I have a project that I can definitely benefit from this. :)

As a Rust dev myself, please don't stop. It absolutely matters that this is Rust and is available for me to use. I wouldn't have clicked otherwise.
Post reply on HN