~/talk

Plenary: C++ MythBusters

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [c-and-cpp]
slides:none on file

Printf family hits global locale locks so replacing sprintf with the fmt library or std::format yields big wins — a macOS case shows about a 4x speedup. std::regex compiles and runs slowly; prefer compile‑time engines like ctre for most patterns. std::optional normally optimizes away overhead but silently copies when returning a mismatched type; C++23 adds monadic optional helpers and libraries like tartanllama provide similar APIs. std::move is only a cast; behavior differs across compilers.

AI-written summary · about

  1. 0:00Start
  2. 12:42Replacing S Printf with the Format Library
  3. 14:18Tooling
  4. 16:41Standard Regex Is Too Slow for Production Use
  5. 18:21The Ctre Library
  6. 25:47Optional Complicates Apis
  7. 26:13Optional for Error Handling
  8. 31:23The Standard Move
  9. 34:48Move Semantics
  10. 43:48Abstraction Patterns
  11. 45:25Iterators Must Go
~/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.