~/talk

Awesome API Design

Talkat ACCU 2025 · 2025-04-01..04-04· [embedded-and-hardware, api-design]
links:none on file
slides:none on file

Shows concrete C and C++ examples: renaming malloc/mfree for symmetry, the std::vector empty vs clear confusion and a checked vs unchecked index design, and arguing for safe by default with not_discard annotations. Recommends a C ABI facade with an internal C++ party API (the Mullet) so binaries stay stable while implementation evolves, and a layered “Domain Burger” separating tech APIs from domain verbs. Emphasizes naming, parameter ordering, predictability, and fluid types with actionable changes to make existing APIs less surprising.

AI-written summary · about

  1. 0:00API design principles
  2. 1:10Memory allocation API
  3. 5:50Consistency in API design
  4. 7:36Symmetry in APIs
  5. 10:25Type safety in APIs
  6. 13:57Interface design
  7. 15:02Mullet pattern
  8. 18:36Domain burger pattern
  9. 21:07Conclusion
~/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.