News for hackers. Stuff that matters.
Re:Rust vs C Pitfalls by steveklabnik on Wednesday December 28, 2016 @02:16PM (#13272829)
You didn't answer my question. Does "library" here mean that you are able to use a hashmap other than the one in std::collections, or not?
Re:Rust vs C Pitfalls by igouy on Wednesday December 28, 2016 @03:44PM (#13273456)
When someone fully re-implements khash in Rust and publishes the library, that will become a question which merits consideration.

Meanwhile, from the task description: Please don't implement your own custom "hash table" - it will not be accepted.

Re:Rust vs C Pitfalls by steveklabnik on Wednesday December 28, 2016 @04:18PM (#13273750)
So, the answer is "no, you are not allowed." But you're open to changing that. Got it.
Re:Rust vs C Pitfalls by igouy on Thursday January 05, 2017 @06:40PM (#13332544)
Can't use a library that doesn't exist.

If you want an additional Rust hashmap implementation then you need to persuade the Rust community to provide one in std::collections.

No one is allowed to -- in your words -- "write an entirely custom [hashmap] just for the benchmark".

Re:Rust vs C Pitfalls by steveklabnik on Thursday January 05, 2017 @07:58PM (#13333012)
> If you want an additional Rust hashmap implementation then you need to persuade the Rust community to provide one in std::collections.

Again, this means that for Rust, it _has_ to be in the standard library. But C doesn't have one in the standard library. So C gets to write their own, and Rust doesn't.