News for hackers. Stuff that matters.
Re:Rust vs C Pitfalls by steveklabnik on Wednesday December 28, 2016 @12:14AM (#13268575)
The Benchmarks Game has more rules than that. It's not about "morals."
Re:Rust vs C Pitfalls by fungos on Wednesday December 28, 2016 @11:30AM (#13271570)
But people are criticizing C because the way it is implemented is not "realistic". Or that the "hash" is a hack that will never work in real life.

I don't know the background of these people, but they couldn't be more wrong. So that looks like "morals" or just they don't ever saw real C code out there.

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.
Re:Rust vs C Pitfalls by igouy on Wednesday December 28, 2016 @01:41PM (#13272555)
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.