~/talk

Contract use: Past, Present, and Future

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
links:none on file
slides:none on file

Bloomberg runs a macro-based contract facility for ~15 years, open-sourced in BDE, that implements three assertion tiers (assert/opt/safe) plus a DSLs review lifecycle (review → assert) and a configurable violation handler (log, abort, sleep, throw) with exponential backoff. Thousands of reviews roll out with zero system outages, tens of real bugs found (e.g. swapped cache bounds, string-destructor null-termination), and SG21 now reworks language-level contracts using papers like P1607/P1429 after contracts were removed from the standard.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Overview
  3. 1:55Contract definition
  4. 5:03Parts
  5. 7:13Contract use
  6. 15:05Declaring assert
  7. 15:59Debugging assert
  8. 19:30Violation handlers
  9. 26:05Opt
  10. 29:20Levels
  11. 34:13Changing assertion levels
  12. 37:26PSLS review
  13. 41:42PSLs assert and review
  14. 46:23Leveraging contracts for faster code
  15. 51:12Why SG21
  16. 54:37What SG21 will do
~/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.