~/talk

“What Could Possibly Go Wrong?: A Tale of Expectations and Exceptions”

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp]
name:Brand
links:none on file
name:Nash
links:none on file
slides:none on file

Conference session compares concrete error-handling techniques and shows which actually trade safety, speed and clarity: benchmarks claim table-based exceptions are fast on the happy path but throwing across stacks costs orders of magnitude; a C++ Foundation survey finds 52% of codebases ban exceptions. Examples use std::optional, std::expected/Boost.Outcome, map/and_then pipelines and a pipe operator to flatten composition, then propose compiler-level zero-overhead deterministic exceptions (try/throws sugar) that map to efficient expected-like returns. Slides and source are on the CppCon GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 3:35Categories of Errors
  3. 7:29Contract Based Programming
  4. 8:43recoverable errors
  5. 21:04Exceptions
  6. 27:16Optional
  7. 36:08Map
  8. 40:16Haskell
  9. 44:19Simon
  10. 48:48QA
~/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.