CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"
What it is
Nicholas Ormrod's CppCon 2016 talk on how Facebook optimizes std::string with its open-source replacement fbstring. It covers storage layout tradeoffs, small string optimization and memory allocation behavior.
Why Hacker News recommends it
HN returns to it as the go-to talk on string internals, small string packing and why small percentage optimizations matter at scale.
- 4 people recommended it
- 4 different months
- 0 strong recommendations
- first 2018, last 2026
What HN commenters said
“it's still definitely worth a watch”
Talk on std::string internals at Facebook
pjscott, 2020-01 · Recommendation · in “Libc++'s Implementation of std::string”
“I also like the talk by Nicholas Ormrod”
Facebook engineer on std::string internals and optimisation
jiggawatts, 2024-03 · Recommendation · in “Algorithms for Modern Hardware”
“Yes, there are really cool packing techniques. See this talk for example”
Shows clever string packing techniques
D4ckard, 2024-12 · Recommendation · in “Fixing C Strings”
“this is a great talk to listen to”
Why small percentage optimisations matter at scale
def-pri-pub, 2026-03 · Recommendation · in “Faster Asin() Was Hiding in Plain Sight”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: std::string, fbstring, small string optimization, memory allocation, cppcon
Also recommended by the same people
talkCppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes”CppCon · 2 HN recommenders · 2021–2025
commentaryTwitter and Visual Studio RantMolly Rocket · 3 HN recommenders · 2020–2026
lectureArithmetic, Population and Energy - a talk by Al BartlettlXlSalemlXl · 6 HN recommenders · 2016–2023
talkThe Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]cpponsea · 2 HN recommenders · 2021–2022
talkLISA11 - Fork Yeah! The Rise and Development of illumosUSENIX · 9 HN recommenders · 2012–2026
explainerHow big is a visible photon?Huygens Optics · 3 HN recommenders · 2021–2025
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
demoBOLTR: Juicero, Cold Press Juicer for Rich WeirdosAvE · 6 HN recommenders · 2017–2026