3 ms·
Great to see another piece of code written in Rust. That said, how do you make claims of something being blazingly fast without any comparisons to implementatio
by nullnilvoid 10y ago
Great to see another piece of code written in Rust. That said, how do you make claims of something being blazingly fast without any comparisons to implementations in other languages such as C or C++?
- tupshin 10y agoThe claim is that it is a blazingly fast hash function compared with other hash functions, and it is also written in Rust. Rust is an enabling technology, but not able to be dramatically faster than a comparable C/C++ implementation, as a general rule.
- nullnilvoid 10y agoThe title is confusing. If it tries to compete with other hash functions, why does the title have to bear "in Rust"?
- pcwalton 10y agoBecause it's probably the most notable/unusual part of this hash function. Virtually all other hash functions for at least a decade have had their reference implementations written in C or C++.
- echelon 10y agoThe Rust ecosystem is growing rapidly, and I personally think it's awesome that we're telling the world about it. Rust is production-ready and presents several advantages over C and C++. The more people that jump on board, the faster we get more libraries, and the more companies will take a look at using Rust in their own production environments. I predict Rust will also begin to find use as a backend server language, and begin to eat into Java, Go, Python, and Ruby mindshare. Though there's a learning curve with Rust, it doesn't take too long to become productive. I'm also excited to see how Rust makes inroads in game development. I think we're all going to start seeing more Rust in our headlines. It's a great language, and the people I know that use it are in love with it (myself included).
- deleted 10y ago[deleted]
- pcwalton 10y agoBecause it's benchmarking a hash function, not a language?