Balancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025 @CppNow
Balancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025  @CppNow
Uploaded September 2025 | Updated December 2026, 3 hours ago
cppnow.org
---

Balancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025
---

Writing a well-functioning computer program is an exercise in following rules. Complying with the rules is made much easier when a program can verify its own compliance. This is why we write assertions: they express the rules we wish a program to follow in a way that allows the program to verify its compliance.

But assertions are limited to a particular kind of rule: the rule must be parameterized only by the data the program has at hand. Assertions work wonderfully for “don’t divide by zero,” but they struggle with “don’t read from an uninitialized object” or “don’t write past the end of an array,” and fail entirely with “don’t destroy an object twice” or “don’t write to an object from which another thread might be reading.” The information needed to verify compliance with these rules is simply not available.

So let’s make it available! Let’s try writing extra declarations into programs, and recording the information needed to verify compliance with all the rules. This is, of course, what sanitizers attempt to do. But for compatibility, sanitizers rely on a great deal of guesswork, particularly about objects accessed from more than one translation unit. By providing extra declarations, we can make our intent clear and take the guesswork out of verifying code.

These new declarations form a bookkeeping system for our program. By keeping balanced books, we can detect imminent violations of our programming rules, and head off much undefined behavior before it happens. In this lecture, I will explore the details of this bookkeeping system.
---

Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Balancing_the_Books.pdf

* Register Now For C++Now 2026: cppnow.org/registration *
---

Lisa Lippincott

Lisa Lippincott designed the software architectures of Tanium and BigFix, two systems for managing large fleets of computers. She's currently assistant chair of the numerics study group of the C++ standardization committee. In her spare time, she studies mathematical logic, and wants to make computer-checked proofs of correctness a routine part of programming.


---

C++Now 2026 - 4th May - 8th 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 - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---

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

#safety #futureofcoding #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment
Balancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025Lightning Talk: Reproducible C++ Floating-Point Reductions in CUB - Shreyas Atre - C++Now 2025How Bloomberg Built a Reusable Process For Consensus on Their Massive C++ Codebases - Sherry SontagEffective CTest - a Random Selection of C++ Best Practices - Daniel Pfeifer - C++Now 2025Lightning Talk: Reflecting Types in C++17/20 - Patrick Roberts - C++Now 2024How to Avoid Headaches with Simple CMake - Bret Brown - C++Now 2025Typed Linear Algebra - How to Not Crash on Mars - François Carouge - C++Now 2026Cutting Some Slack for our Programs - Lisa Lippincott - C++Now 2026Scaling beman.exemplar - Eddie Nolan - C++Now 2026The Most Important API Design Guideline - No, Its Not That One - Jody Hagins - C++Now 2024Can C++ Become a Memory Safe Language? - Prabhu Missier - C++Now 2026Alex Stepanov, Generic Programming, and the C++ STL - Jon Kalb - C++Now 2025
CppNow |

Balancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER