~/talk

What Does It Take to Implement the C++ Standard Library?

Talkat C++Now 2024 · 2024-04-29..05-03· [c-and-cpp]
slides:none on file

Explains concrete engineering choices: unit tests, fuzzing, full integration tests by rebuilding OS packages (arranged to use the target stdlib), and sanitizers like AddressSanitizer plus hardened asserts to catch precondition violations; measures performance with LTO and profile-guided optimization and A/B benchmarks. Calls out a concrete design tradeoff: a usual three-pointer representation versus a size-based vector layout that benchmarks faster under LTO+PGO but causes an ABI break (use via an unstable ABI). Advises reading the C++ working paper, not cppreference, for mandates and preconditions.

AI-written summary · about

  1. 0:00Introduction
  2. 5:16Engineering practices for correctness
  3. 28:16Optimizing performance in the standard library
  4. 43:31Contributing to libC++ and clang
  5. 55:34Compiler and standard library relationship
  6. 1:03:43Compiler extensions for diagnostics
  7. 1:16:43Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.