Re:Rust vs C Pitfalls
by steveklabnik on Wednesday December 28, 2016 @12:13PM
(#13271889)
You're making an assumption that the C code is allowed to have the same algorithm as the Rust code. This is not actually exactly true, based on the rules of the game.
[ Parent
| on HN ]
Where is it forbidden for programs written in C to use FNV?
For example https://github.com/haipome/fnv/blob/master/fnv.c
Re:Rust vs C Pitfalls
by steveklabnik on Wednesday December 28, 2016 @01:58PM
(#13272701)
I'm referring to my reply to you above about not being able to implement a different map, not the hash function itself.