~/talk

What is an ABI, and Why is Breaking it Bad?

Talkat CppCon 2020 · 2020-09-14..09-18· [software-architecture]
links:none on file
slides:none on file

ABI means the platform-level binary contract: parameter passing, object layout, vtable layout, exception and symbol semantics. Examples include adding/removing struct fields (size/offset mismatch), inserting virtual functions (vtable slot shift), the std::string COW change that forced incompatible layouts, and the subtle std::pair trivial copy change that moves some specializations from stack to register. Breaks usually appear only at runtime, require full rebuilds or fat binaries, and are mitigated by symbol versioning, inline-namespace schemes, or ABI-checking tools like libabigail.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:34What is an ABI
  3. 4:01ODR violations and ABI breaks
  4. 13:43Virtual function table changes
  5. 20:26From ODR to ABI breaks
  6. 23:56Real-world ABI break examples
  7. 34:12Why ABI breaks matter to standards
  8. 41:01Detecting ABI breaks
  9. 50:01Impact on developers and users
  10. 1:05:20Q&A
~/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.