When Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026 @CppNow
When Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026  @CppNow
Uploaded August 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

When Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026
---

Many C++ library implementations of abstractions use fixed strategies for mechanisms like storage and dispatch. These choices, though suitable for general-purpose use, limit flexibility because they aren't exposed as policies that can be adapted to specific needs. In performance-critical contexts, modifying the strategy for these mechanisms requires re-implementing the entire abstraction, even though the change is often conceptually narrow.
By testing a policy-based library design approach on examples like std::vector and std::ranges::any_view, this talk demonstrates how the C++ type system and template metaprogramming facilities can enable mechanisms and even interfaces to be interchangeable, which, in turn, allows the rest of the abstraction to be reusable for specialized requirements, if the user only implements the appropriate policies.
The goal is to show how careful C++ library design can serve as a viable substitute for missing language features, and to draw lessons from other ecosystems about flexibility and reuse.
---

Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/When_Abstractions_Fix_Too_Much.pdf

think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Patrick Roberts

Patrick Roberts, PE, is a systems engineer and library developer currently working in the autonomous trucking industry, where he applies modern C++ to safety-critical, real-time vehicle software. His career spans multiple performance-critical roles, from writing firmware and low-latency trading systems to developing open-source device kernels for RISC-V AI accelerators. Patrick is a co-author of the any_view proposal (P3411), a member of the ISO C++ Standards Committee, and a core member of the Beman Project.
---

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 - cppnow.org
linkedin.com/company/cppnow​
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: Bloomberg
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk
When Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026C++ is a Metacompiler - Daniel Nikpayuk - C++Now 2024C++ Program Correctness and its Limitations - David Sankel - C++Now 2025Post-Modern Cmake - From 3.0 to 4.0 - Vito Gamberini - C++Now 2025Senders For Existing Asynchronous Interfaces - Dietmar Kühl - C++Now 2026C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026Code C++ Like a Library Author - Jon Kalb - C++Now 2026Lightning Talk: Hilbert Hotel - The Grand Reopening - Tobias Loew - C++Now 2024Reflecting on Reflection - Introspection, Injection, and Beyond - C++Now 2026Designing a Slimmer Vector of C++ Variants - Christopher Fretz - C++Now 2024What is your Algorithmic Core? - Egor Suvorov - C++Now 2026
CppNow |

When Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER