~/talk

How To Implement the C++ Standard Library - (Part 1 of 2)

slides:none on file

Part I lays out concrete steps: read the standardese not cppreference, use test driven development with assert-based unit tests for libstdc++/libc++, fuzz the API and run nightly integration builds against FreeBSD/Debian, enable address sanitizer and libstdc++ hardening to catch UB, measure regressions with micro and macro benchmarks plus PGO, prefer C++-first library implementations before compiler intrinsics, and watch surprising findings like the three-pointers-in-a-trench-coat vector vs size-int performance trade and how mandates vs requires change overload behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Core priorities
  3. 6:09Correctness through engineering
  4. 10:30Undefined behavior detection
  5. 20:50Hyrum’s Law in API design
  6. 27:34Performance beyond Big O
  7. 36:24Defining the Standard Library
  8. 43:47Standard Library ≠ headers
  9. 47:03Library as compiler extension
  10. 55:16Compiler diagnostics extensions
  11. 57:00Summary and Part 2
~/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.