~/talk

Contracts For Getting More Programs Less Wrong

Talkat Strange Loop 2018 · 2018-09-26..09-28· [testing]
links:none on file
slides:none on file

Explains how executable contracts (using JML and the CMU teaching language C0) move tests toward full correctness by enforcing preconditions, postconditions and loop invariants at runtime, teaching students to prove code like the Fibonacci loop invariant and catching a real-world java.utils.Collection.sort bug fixed via a theorem prover, shows contracts run in debug only and can double-check every call and document precise specs that compilers and provers can use.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45The Leap
  3. 5:51The Gap
  4. 11:50The First Takeaway
  5. 17:18Contracts in Functional Languages
  6. 20:39Fibonacci
  7. 22:18Writing Fibonacci
  8. 30:03Loop invariant
  9. 34:20Compile time guarantees
  10. 35:17Timsort
  11. 35:45Conclusion
~/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.