~/talk

Software Engineering Is About Tradeoffs

Talkat NDC TechTown 2021 · 2021-08-30..09-02· [software-architecture, c-and-cpp]
slides:none on file

Compares concrete C++ tradeoffs with results from live votes: three string SSO layouts (GCC 32B, LLVM 24‑byte SSO, Facebook 23B) and the cost/benefit of fewer branches versus smaller moves; exception‑safety levels and std::variant’s value‑by‑exception vs Boost’s heap‑backed strong guarantee; mp‑units offers four APIs (dimension aliases, unit aliases, named unit objects, UD literals) with compilation and standardization costs — the room favors quantity references; doncasting eases errors/debugging but provokes ODR problems unless systems are globally defined.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Problem Solving vs. Point of View
  3. 2:57The cost of finding the best solution
  4. 5:44std::string (simplified)
  5. 15:24How often do you analyze exception safety of your code?
  6. 17:18The importance of the Exception Safety Guarantees
  7. 17:53Imagine the C++ Standard Library with only Basic Exception Safety Guarantee
  8. 21:01Never-Empty Guarantee of Boost.Variant
  9. 28:43Unit-Specific Aliases: Example
  10. 31:03Quantity References: Example
  11. 34:08User Defined Literals: Example
  12. 36:06Standardization takes time
  13. 36:45Comparison
  14. 40:55One Definition Rule (ODR) - Translation Unit
  15. 41:10One Definition Rule (ODR) - Program
  16. 42:08Problem: One Definition Rule Violation
  17. 43:18But this is how some customization points behave
  18. 45:19Solution #1: Keep it as it is
  19. 46:47Compile-time error when resulting dimension or unit is
  20. 48:39Get rid of the Downcasting Facility
  21. 52:15Designing is Hard
~/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.