News for hackers. Stuff that matters.
Re:Memory Safety for Skeptics by BeetleB on Monday November 10, 2025 @05:25PM (#45881789)
> A skilled C++ programmer wouldn't be using unordered_map so it is unfair to point out you can use something bad.

C++ isn't my primary language. Pray tell - what's wrong with unordered_map, and what's the alternative?

Re:Memory Safety for Skeptics by jcranmer on Monday November 10, 2025 @05:36PM (#45881904)
std::unordered_map basically specifies a bucket-based hashtable implementation (read: lots of extra pointer chasing). Most high-performance hashtables are based on probing.