Critque of Rust's collection types

Klmp via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 14 12:03:53 PDT 2016


On Wednesday, 14 September 2016 at 03:49:35 UTC, Basile B. wrote:
> On Wednesday, 14 September 2016 at 00:36:39 UTC, Walter Bright 
> wrote:
>> On 9/13/2016 4:47 PM, Walter Bright wrote:
>>> http://ticki.github.io/blog/horrible/
>>>
>>> Some worthwhile insights into what makes a good collection 
>>> type.
>>
>> https://news.ycombinator.com/item?id=12488233
>>
>> Of particular interest is the advocacy of collision attack 
>> resistance. Is anyone interested in exploring this w.r.t. D's 
>> builtin hashes?
>>
>> https://www.reddit.com/r/rust/comments/52grcl/rusts_stdcollections_is_absolutely_horrible/
>>
>> Of interest are the comments by the implementer of the hash.
>
> There's a benchmark of languages builtin hashmaps here:
>
> http://vaskir.blogspot.fr/2016/05/hash-maps-rust-vs-f.html
>
> It includes D and Rust. The author found that D wins for the 
> lookups but was a bit behind for the insertions (due to GC 
> maybe ?).
>
> Rust results didn't seem that bad, despite of the cryptographic 
> hash function it uses.

just ignore...get on ignoring.
tea vs coffee...cough



More information about the Digitalmars-d mailing list