Do you want to ensure your libraries are easily packaged into any system—even ones you've never heard of and may never hear of? This two-part series presents valuable information and guidance on how to write packageable libraries.
Resource information | Details |
---|---|
Title | Don't Package Your Libraries, Write Packageable Libraries! (Parts I & II) |
Presenter | Robert Schumacher |
Web Links, Part I | Video, Slides |
Web Links, Part II | Video |
"Don't Package Your Libraries, Write Packageable Libraries!", an informative two-part series presented by Robert Schumacher at CppCon, delivers practical guidelines for designing and writing libraries with a strong emphasis on the needs of the maintainers who will integrate them into systems.
Schumacher explains the four key facets of the packaging ecosystem:
-
Library Authors – who write libraries and want others to adopt them.
-
System Users – who depend on systems that rely on these libraries.
-
Other Libraries – that might build on or include your library.
- Maintainers – who package your library for use in their systems, often without deep knowledge of your code or its domain.
Schumacher's guidance helps library authors anticipate the needs of each facet and design accordingly. While the talks are C++-focused, the concepts are broadly applicable and relevant to library authors working in other programming languages. Through real-world examples, Schumacher illustrates both successful applications of the guidelines and pitfalls of neglecting them. Though originally presented in 2018 and 2019, the principles in this series remain relevant for today's software development challenges.
Following the guidelines presented in this series will help you design libraries that are easily and reliably packaged into the systems you intended—and those you've never even heard of.