The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter
https://cppcon.org --- The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter - CppCon 2025 --- This talk is all about the C++26 contracts feature. It covers the following topics: Why defensive programming is a Good Thing (mainly for functional safety, but occasionally also for memory safety) Brief overview of C++26 contracts, and why they’re way better than C assert (spoiler: writing them on declarations, being able to use them in release builds, and language support is just way better than macros) The 3-page “Effective C++ Contracts book” — best practices you need to know to use them (spoiler: keep compound conditions together, don’t write side effects, understand the pros and cons of installing a throwing violation handler… that’s pretty much… it?) Why they’re viable, because they address the key things we need in production (which we’ll list) Why they’re minimal, because we actually need every part in C++26 to use them at scale (which we’ll do by systematically summarizing why each piece is necessary) What the future evolution of contracts holds (spoiler: virtual functions! groups/labels!) A review of Frequently Asked Questions --- Slides: https://github.com/CppCon/CppCon2025/... Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf --- Herb Sutter Herb is a technical fellow at Citadel Securities, designer of several Standard C++ features, and chair of the ISO C++ committee and the Standard C++ Foundation. His current interest is simplifying C++. --- 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

Networks in C++ - What's Actually Changing? - Ignas Bagdonas - CppCon 2025

Robust C++ Error Handling in C++26 - Sebastian Theophil - CppCon 2025

Rust vs C++ with Steve Klabnik and Herb Sutter

Why std::vector Can't Save You (And What to Use Next)

Instrumenting the Stack: Strategies for End-to-end Sanitizer Adoption - Damien Buhl - CppCon 2025

MM26FR • 150ms Time to First Byte Without Cache

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Making C++ Safe, Healthy, and Efficient - John Lakos - CppCon 2025

Unsatisfied with the C++ Standard Library? Join The Beman Project! - River Wu
![On doing a maths[s] project with "Aristotle" — Gerhard R. Paseman](https://i.ytimg.com/vi/1lOSG5IAW08/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBpKPCgvgMSfHCauSAlJhbTq-0Eqg)
On doing a maths[s] project with "Aristotle" — Gerhard R. Paseman

The Cost of Concurrency Coordination with Jon Gjengset

Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025

Reflection: C++’s Decade-Defining Rocket Engine - Herb Sutter - CppCon 2025

Modern C++ Error Handling - Phil Nash - CppCon 2024

Keynote: I Fixed Move Semantics - Jason Turner @cppweekly

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

Knockin' on Header's Door: An Overview of C++ Modules - Alexsandro Thomas - CppCon 2025

Back to Basics: C++ Concepts - Jeff Garland - CppCon 2025

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

