Perspectives on Contracts for C++ - Lisa Lippincott - CppCon 2024
https://cppcon.org --- Perspectives on Contracts for C++ - Lisa Lippincott - CppCon 2024 --- For many years, members of the C++ working group, WG21, have tried to add support for contract assertions — preconditions, postconditions, and assertion statements within a function body — to the C++ language. It’s been a long and difficult road, but we now have a proposal (P2900, “Contracts for C++”) to add significant contract support in, we hope, C++26, with more complete support to follow in C++29. Looking back, the contracts feature has been unusually difficult and contentious. I contend that the difficulty is inherent in the feature: a contracts facility, by its nature, cannot be understood from any single point of view. In this lecture, I will explain why understanding contracts requires seeing the feature from a panoply of perspectives, and show how shifting between these perspectives allows one to make effective use of the facility. This lecture is derived from presentations made to the Language Evolution subgroup of WG21 at the St. Louis meeting in June 2024. --- Sponsored by JetBrains: https://www.jetbrains.com/clion/ --- Lisa Lippincott Lisa Lippincott designed the software architectures of Tanium and BigFix, two systems for managing large fleets of computers. She's also a language nerd, and has contributed to arcane parts of the C++ standard. In her spare time, she studies mathematical logic, and wants to make computer-checked proofs of correctness a routine part of programming. --- CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts. Annual CppCon Conference - https://www.cppcon.org / cppcon https://x.com/cppcon / cppconference / cppcon https://mastodon.social/@CppCon --- Videos Filmed & Edited by Bash Films: http://www.BashFilms.com YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk --- #cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer

How to Use string_view in C++ - Basics, Benefits, and Best Practices - Jasmine Lopez & Prithvi Okade

Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024

Known pitfalls in C++26 Contracts - Ran Regev

Introduction to Wait-free Algorithms in C++ Programming - Daniel Anderson - CppCon 2024

BeCPP Symposium 2026 - Herb Sutter - C++ Growing in a world of competition, safety, and AI

Better Code: Contracts in C++ - Sean Parent & Dave Abrahams - CppCon 2023

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Contracts for C++ - Timur Doumler - ACCU 2025

Back to Basics: C++ API Design - Jason Turner - CppCon 2022

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter

Building the PERFECT Linux PC with Linus Torvalds

The Strange Math That Predicts (Almost) Anything

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Back to Basics: C++ Ranges - Mike Shah - CppCon 2025

Narrow Contracts and `noexcept` are Inherently Incompatible in C++ - John Lakos - ACCU 2024

C++ Weekly - Ep 421 - You're Using optional, variant, pair, tuple, any, and expected Wrong!

C++ Memory Model: from C++11 to C++23 - Alex Dathskovsky

Union types in C# | DEM304

