TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 230 subscribers
Post #25111 19
Does anyone maintain an impl of the Chandler Carruth map API?

Lightning Talk (C++Now 2019, 8min): https://youtube.com/watch?v=kye4aD-KvTU

In 2019, Chandler presented the above talk describing a C++ map API. It's not compatible with the standard map types, but for greenfield projects I think it's an excellent choice.

I've considered implementing it myself, but hash tables are very subtle and finicky. I'd rather rely on a robust implementation.

Abseil has some excellent hash tables, but to my knowledge they do not support the small size/small buffer optimization. Chandler's hypothetical API does. Would be great to have the SIMD probing algorithm from Abseil implemented for an SSO map type.

https://redd.it/1t21nhu
@r_cpp
YouTube C++Now 2019: Chandler Carruth “A clean and minimal map API” http://cppnow.org — Lightning Talk — Presentation Slides, PDFs, Source Code and other presenter materials are available at: http://cppnow.org/history/2019/talks/ — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com --- *--* ---
More from @r_cpp
  1. Oct 4, 2026PJ Plauger's final column at C/C++ Users Journal (2000) https://jacobfilipp.com/DrDobbs/ar…
  2. Oct 4, 2026Why C++ is so hated!!! I love C++. High level + low level at the same time. But Linus Torv…
  3. Oct 4, 2026About alignment, struct layout and the cache... https://meetingcpp.com/blog/items/About-al…
  4. Oct 4, 20260x40: Intro, NB and C++ news, the 10 year anniversary , and the Quiz https://youtu.be/cEjc…
  5. Oct 4, 2026Packing Binary Is Fun, Actually https://hereticpleb.vercel.app/blog/packing-binary-is-fun-…
  6. Oct 3, 2026I've tried "Token Sequence Injection & Modern Macros" and here are my thoughts We had this…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →