Рет қаралды 3,876
www.cppnow.org
---
An Adventure in Modern Library Design - Robert Leahy - C++Now 2024
---
Library design used to seem easy: Model the problem domain with classes which sometimes inherit from one another, throw in a few free functions, and you’re done. Modern library design is unrecognizable from that frame of reference: Customization point objects, expression equivalence, perfect forwarding, a seemingly-endless list of edge cases and sharp edges understood only by experts.
This journey from simple to complicated didn’t occur without reason. Putting complexity into libraries transfers that complexity into a single place where it can be dealt with once. Improving genericity by considering and handling edge cases and seemingly-obscure use cases furthers the concentration of complexity by increasing the reach and leverage of C++ libraries.
This talk will explore modern C++ library design principles using the real-world example of a library which interfaces with a time series database. CPOs and generic algorithms form the foundation of this C++ library. Sophisticated uses of std::variant, CTAD, and immovable types will be introduced. Attendees will gain actionable insights into designing modern C++ libraries to address complex software engineering challenges.
---
Slides: github.com/boo...
Undo: Debug your hardest C++ bugs with time travel debugging → Learn more at bit.ly/cppnow24
---
Robert Leahy
Robert is a graduate of the University of Victoria where he specialized in graphics, gaming, and digital geometry processing. After spending 4.5 years in full stack web development he pivoted to financial infrastructure in early 2016 and now works on next generation market data storage and retrieval mechanisms. In 2019 he became involved in the ISO C++ committee with a particular focus on library evolution.
---
C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - www.cppnow.org
/ cppnow
/ cppnow
/ cppnow
/ cppnow
mastodon.socia...
Video Sponsors: millennium and think-cell
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
KZfaq Channel Managed & Optimized By Digital Medium Ltd: events.digital...
---
#boost #cpp #programming #cppprogramming #cppnow