~/talk

How to make error handling less error-prone

Talkat Strange Loop 2014 · 2014-09-17..09-19· [security]
github:daira
slides:none on file

Argues for language support that provides automatic rollback of caller state so failures cannot leave objects inconsistent shows how that yields a strong exception guarantee for synchronous code and demonstrates efficient implementation strategies and integration with existing features compares this to historical recovery blocks (1975) and explains how the Ken protocol extends rollback to asynchronous and distributed systems cites concrete failures including examples of TLS certificate bugs to motivate the design and engineering tradeoffs

AI-written summary · about

  1. 0:00Start
  2. 1:28Introduction
  3. 4:56Error state
  4. 8:39Return codes
  5. 12:28Error values
  6. 18:07Fun with NANS
  7. 19:34Handlers with per-process/thread extent
  8. 23:05Handlers associated with objects or contexts
  9. 24:26Exceptions
  10. 31:59Exception safety
  11. 46:06Recovery blocks vs try/catch
~/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.