~/lightning

The most important API design principle

Lightningat Meeting C++ 2017 · 2017-11-09..11-11· [frontend-architecture]
name:Marc Mutz
links:none on file
slides:none on file

Claims that APIs should expose Non owning interface views not owning containers, demonstrates this with QStringView and by changing QRegion to be QRegion iterable so callers iterate without forcing allocations. Implementation detail: keep inline small-storage, return begin/end into that or a vector. Result: library binary loses 3 kilobytes saved of text and code removes special-case allocation logic, showing the idea works and enables swapping internal containers.

AI-written summary · about

  1. 0:00Start
  2. 1:56Api Design Principle
  3. 4:33Exit Strategy
  4. 7:35The Most Important Api Design Principle
~/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.