~/talk

“The Unexceptional Exceptions"

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
links:none on file
slides:none on file

Claims that exceptions are “boring” and usable in small doses and shows how to make error handling correct, not scary: use RAII via unique_ptr/scope-guard to automate cleanup, prefer noexcept swap and destructors that never throw, distinguish basic vs strong guarantees (no leaks vs commit/rollback), repackage errors at system boundaries, and convert legacy return-code APIs at boundaries. Warns that pthread_cancel can interrupt anywhere (even noexcept/destructors) so thread cancellation requires special handling.

AI-written summary · about

  1. 0:00Introduction to exceptions
  2. 2:07Exception basics in C++
  3. 13:31Why exceptions are feared
  4. 21:27Error handling guarantees
  5. 30:04Resource management with RAII
  6. 40:03When to catch exceptions
  7. 47:36System design and error handling
  8. 50:27Legacy code and exceptions
  9. 53:21Q&A and conclusion
~/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.