~/talk

Asserting Your Way to Faster Programs

Talkat CppCon 2021 · on Thursday, 2021-10-28· at 16:45· B) Summit 8/9, online· [web-performance]
links:none on file
slides:none on file

Empirical results on Bloomberg’s BDE libraries compare assume vs ignore semantics using clang 12.0.1 on x86: compile time and compiler memory use show no measurable change within a 95% confidence interval, overall binaries shrink, many functions get smaller while a few grow (loop unrolling), and runtime rarely worsens — most tests show no degradation and one microbenchmark (swap overload) gains measurable speed. The change is a compiler-optimization signal rather than extra developer work.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Welcome
  3. 0:50About me
  4. 2:17What I found
  5. 2:58Outline
  6. 10:28Recap
  7. 11:00Precondition check
  8. 12:04Ignore Semantic
  9. 12:57Assume Semantic
  10. 13:31Assume Contract Violation
  11. 14:13Contract Preconditions
  12. 16:18Example
  13. 18:20Assumptions
  14. 18:35Contracts
  15. 20:01Implementation
  16. 21:28Method
  17. 22:46Case Study
  18. 23:18Experiments
  19. 24:36Conclusion
  20. 24:48Interesting Fact 1
  21. 26:06Interesting Fact 2
  22. 27:45Contract Checking in BD
  23. 28:05How does BD assert sort work
  24. 28:24Ignore precondition checks
  25. 28:35Ignore contracts
  26. 28:46P2064
  27. 29:06Experimentation
  28. 29:27Contract Checking
  29. 29:54How many assertions are present
  30. 30:58Whats in the assertions
  31. 33:16Performance
  32. 34:40Turning off checks
  33. 35:15Review
  34. 35:49Whats left
  35. 36:44The takeaways
~/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.