~/talk

The Dawn Of A New Error

Talkat ACCU 2019 · 2019-04-10..04-13· [c-and-cpp]
slides:none on file

Summary of a C++ proposal that replaces heaped RTTI exceptions with ADT-style, value errors: p0709r1 proposes zero-overhead deterministic exceptions that use a freeze qualifier on functions and a try keyword to propagate compact error values (no dynamic allocation), map to std::expected-like returns, and let catch-by-value avoid RTTI. Supporting papers (p1028 std::error, p1029/1144 move-relocates) add fast status-code domains and relocatable moves so happy-path costs compile to two-register returns plus a single discriminant bit. Interop with classic exceptions is discussed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01A history of error talks
  3. 2:19Swift and error handling
  4. 4:04P0709: Deterministic exceptions
  5. 5:01Exploding return types
  6. 8:46Evolution to Expected
  7. 10:29Language comparisons
  8. 12:41Using std::expected
  9. 14:49Functional error handling
  10. 17:49Syntax and semantics of P0709
  11. 21:33Implementation details
  12. 23:30Try-catch semantics
  13. 26:32P1028: Status code
  14. 28:47System error context
  15. 31:59Error code mechanics
  16. 34:57Issues with system_error
  17. 36:46Status code solution
  18. 40:12Designing status_code
  19. 42:30Advantages of status_code
  20. 45:51Compiler optimization
  21. 47:22Move relocates proposal
  22. 49:41Performance breakdown
  23. 51:07Conclusion and Q&A
~/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.