~/talk

Don't Package Your Libraries, Write Packagable Libraries! (Part 2)

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
links:none on file
slides:none on file

Covers concrete rules that make C++ libraries easy to package: how componentized builds, clear public headers, single LICENSE file and SPDX metadata speed packaging and avoid fragile heuristics; draws on experience helping pack 1,000 libraries into vcpkg catalog (now ~1,100) and real fixes for Qt, folly and others; shows that optional docs, unconditional Werror causes build failures, and tangled file-layouts force large build replacements, while toolchain files and per-component globs let packages be built reproducibly.

AI-written summary · about

  1. 0:00Introduction to packagable libraries
  2. 1:59Four quadrants of package management
  3. 3:45Avoid building unnecessary components
  4. 5:31Don't use Werror by default
  5. 7:18Be compiler-friendly
  6. 8:01Clarify your interface
  7. 10:11Organize code into components
  8. 11:36Angle project example
  9. 13:03Licenses as part of interface
  10. 14:06Support and release strategy
  11. 15:53Ship fixes frequently
  12. 17:39VC package ecosystem overview
  13. 18:19Build system replacement discussion
  14. 21:22Should package management be standardized?
  15. 23:38Toolchain files for build settings
  16. 25:25Q&A session
~/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.