~/talk

KEYNOTE: De-fragmenting C++: Making exceptions more affordable and usable

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

Survey finds ~52% of projects ban exceptions (3,000 responses, later 81-confirmation), so proposal targets fractured C++ error handling with four coordinated fixes: an opt-in throws keyword that returns a compact, value-based lightweight exception (std::error-like) to avoid heap alloc and RTTI, clearer rules separating recoverable errors vs bugs vs resource exhaustion, and fail-fast allocation defaults plus migration paths (prototype work and Boost/expected experience show feasibility). Claims: zero-overhead when unused, deterministic time/space for error reporting, and practical backward-compatible migration.

AI-written summary · about

  1. 0:00Introduction and context
  2. 12:09Problem of C++ dialects and fragmentation
  3. 21:36Definition of recoverable errors
  4. 27:38Proposal for lightweight exceptions
  5. 44:02Allocation failures and correctness
  6. 53:01Explicit try for visible control flow
  7. 1:01:10Q&A and summary
~/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.