News for hackers. Stuff that matters.
Re:Safety: A comparaison between Rust, C++ and Go by CryZe on Saturday July 30, 2022 @11:52AM (#32287740)
> In C++ the community "default" is `absl::flat_hash_map`/`folly::F14`, which use SIMD to compare a whole stripe of key-prefixes simultaneously.

Just to be clear, the Rust HashMap does the same thing.

Re:Safety: A comparaison between Rust, C++ and Go by benreesman on Saturday July 30, 2022 @12:20PM (#32287977)
TIL. Thanks for letting me know that: https://doc.rust-lang.org/src/std/collections/hash/map.rs.ht...

I don't know how I missed this, is the Swiss port a fairly recent development?

Re:Safety: A comparaison between Rust, C++ and Go by tialaramex on Saturday July 30, 2022 @01:33PM (#32288607)
Hashbrown (the Swiss Tables implementation) replaced the previous HashMap implementation in July 2019.

The port is a little older, 2018. The idea was famously explained at CppCon 2017, I don't know whether Google had published on Swiss Tables before that year.