CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
What it is
Matt Kulukundis explains how Google designed SwissTable, a fast, cache-friendly hash table, step by step from std::unordered_map. The talk covers open addressing, SIMD probing and the tradeoffs of changing a fundamental data structure.
Why Hacker News recommends it
HN repeatedly cites it as the definitive explanation of SwissTable, the design behind Abseil, Rust's hash map and Go's maps.
- 9 people recommended it
- 10 different months
- 4 strong recommendations
- first 2018, last 2026
What HN commenters said
“(warning, it's an hour. Takes a while to build up, too. Still worth it.)”
Hour-long look at modern open addressing hash tables
nwallin, 2019-10 · Strong recommendation · in “Hash tables”
“the talk on SwissTable [2] (Google's SIMD accelerated hash table) is excellent”
Talk on SIMD accelerated hash table
sujayakar, 2021-03 · Strong recommendation · in “MIPS Becomes RISC-V”
“is one of my favorites”
Making of absl::flat_hash_map
KerrickStaley, 2022-11 · Strong recommendation · in “Inside boost::unordered_flat_map”
“Excellent talk which explains the concepts really clearly and concisely.”
Clear, concise explanation of Swiss Table concepts
lalitmaganti, 2026-07 · Strong recommendation · in “Golang Maps: how Swiss Tables replaced the old bucket design”
“There's a good talk about such a dense, flat hash set here”
Dense flat hash set design
kllrnohj, 2019-08 · Recommendation · in “Bulk Data Structures C++”
“There's a good talk from CppCon [0] that explains its design decisions”
Explains SwissTable design decisions
vthriller, 2020-03 · Recommendation · in “When Bloom filters don't bloom”
“The whole talk is interesting to watch.”
Shows pitfalls of std::unordered_map and its indirections
yakubin, 2021-09 · Recommendation · in “Transmission torrent client ported to C++”
“Is a fun presentation by Matthew Kulukundis (designer of Google's Hash Table)”
Design and rollout of Google's hash table with Hyrum's law objections
jbandela1, 2024-10 · Recommendation · in “Hash Ordering and Hyrum's Law”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: swisstable, hash tables, c++, simd, abseil, cache efficiency
Also recommended by the same people
talkBryan Cantrill on Jails and Solaris ZonesPapersWeLove · 6 HN recommenders · 2016–2025
commentaryTwitter and Visual Studio RantMolly Rocket · 3 HN recommenders · 2020–2026
talkLibreSSL: The first 30 days, and what the Future HoldsAndrea Ross · 3 HN recommenders · 2014–2022
demoMock Interview with Shawn McGrathMolly Rocket · 6 HN recommenders · 2017–2023
talkRobocalypse Now: Using Deep Learning to Combat Cheating in Counter-Strike: Global OffensiveGDC Festival of Gaming · 5 HN recommenders · 2021–2025
talkCppCon 2016: Chandler Carruth “Garbage In, Garbage Out: Arguing about Undefined Behavior..."CppCon · 4 HN recommenders · 2016–2026
talkCppCon 2015: Herb Sutter "Writing Good C++14... By Default"CppCon · 4 HN recommenders · 2015–2018
explainer3D Gaussian Splatting - Why Graphics Will Never Be The SameIndividualKex · 3 HN recommenders · 2023–2026