Contracts for C++ - Timur Doumler - ACCU 2025

ACCU Membership: https://tinyurl.com/ydnfkcyn --- Contracts for C++ - Timur Doumler - ACCU 2025 --- Design by Contract is a very effective approach for writing safer, more correct programs. It has been successfully implemented in programming languages like Eiffel and Ada. Attempts to add a Contracts facility to C++ have a long and storied history spanning two decades. Since the last attempt to standardise Contracts (for the C++20 Standard) has failed, SG21 — the Contracts Study Group on the C++ Standard Committee – has been working on a new design, the so-called Contracts MVP, which is now essentially feature-complete and on track to make it into the upcoming C++26 Standard. In this talk, we present the current design of the Contracts MVP targeting C++26. We discuss preconditions, postconditions, assertions, contract-violation handling and much more. We consider how the Contracts MVP provides a superior replacement for custom assertion macros and, when used correctly, can significantly improve the safety and correctness of your code. Slides: https://accu.org/conf-previous/accu2025/ Join think-cell as a C++ Developer and work on cutting-edge challenges with a focus on code excellence, innovation, and working alongside an international team of experts — apply now to be part of a team shaping the future of business presentations. https://www.think-cell.com/en/career --- Timur Doumler Timur Doumler is the co-host of CppCast and an active member of the ISO C++ standard committee, where he is currently co-chair of SG21, the Contracts study group. Timur started his journey into C++ in computational astrophysics, where he was working on cosmological simulations. He then moved into the audio and music technology industry, where he has been working for over a decade and co-founded the music tech startup Cradle. In the past, Timur also worked for JetBrains, first as a developer on CLion's C++ parser and later as a Developer Advocate for C++ developer tools. Currently, Timur lives in Finland, where he organises the monthly C++ Helsinki meetup and works as an independent C++ consultant. Timur is passionate about clean code, good tools, low latency, and the evolution of the C++ language. Video Sponsored By JetBrains --- The ACCU Conference is the annual conference of the ACCU membership, but is open to any and all who wish to attend. The tagline for the ACCU is 'Professionalism in Programming', which captures the whole spectrum of programming languages, tools, techniques and processes involved in advancing our craft. While there remains a core of C and C++ - with many members participating in respective ISO standards bodies - the conference, like the organisation, embraces other language ecosystems and you should expect to see sessions on C#, D, F#, Go, Javascript, Haskell, Java, Kotlin, Lisp, Python, Ruby, Rust, Swift and more.The ACCU Conference is a conference by programmers for programmers about programming. Discounted rates for members. ACCU Membership: https://tinyurl.com/ydnfkcyn 2025 Program: https://accu.org/conf-previous/accu2025/ https://accu.org https://www.accuconference.org/ https://mastodon.social/@ACCUConf   / accu-conference   https://bsky.app/profile/accuconf.bsk...   / accuorg     / accuconf   --- YouTube Videos Filmed, Edited & Optimised by Digital Medium: https://events.digital-medium.co.uk #accuconf #cppprogramming #cpp #cplusplus #cplusplusprogramming #programming #softwaredevelopment #softwareengineer #programmingconcepts #coding #programmingtutorial

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

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

Asynchronous C++ - Dietmar Kühl - ACCU 2025
▶︎

Asynchronous C++ - Dietmar Kühl - ACCU 2025

Contracts, Safety, and the Art of Cat Herding - Timur Doumler - C++ on Sea 2025
▶︎

Contracts, Safety, and the Art of Cat Herding - Timur Doumler - C++ on Sea 2025

Essential C++ Tips and Tricks for the Ultimate Cpp Performance - Andreas Fertig - C++Online 2025
▶︎

Essential C++ Tips and Tricks for the Ultimate Cpp Performance - Andreas Fertig - C++Online 2025

Scott Wlaschin - Four Languages from Forty Years Ago - NewCrafts 2019
▶︎

Scott Wlaschin - Four Languages from Forty Years Ago - NewCrafts 2019

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

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

Building the PERFECT Linux PC with Linus Torvalds
▶︎

Building the PERFECT Linux PC with Linus Torvalds

One Formula That Demystifies 3D Graphics
▶︎

One Formula That Demystifies 3D Graphics

Advanced Memory Management in Vale (with Evan Ovadia)
▶︎

Advanced Memory Management in Vale (with Evan Ovadia)

The Cost of Concurrency Coordination with Jon Gjengset
▶︎

The Cost of Concurrency Coordination with Jon Gjengset

Cpp Contracts - How Contracts in C++26 Can Improve C++ Code Safety and Correctness - Timur Doumler
▶︎

Cpp Contracts - How Contracts in C++26 Can Improve C++ Code Safety and Correctness - Timur Doumler

Union types in C# | DEM304
▶︎

Union types in C# | DEM304

Why Building AI Data Centres Isn’t Working Anymore
▶︎

Why Building AI Data Centres Isn’t Working Anymore

Professor Jiang: I Predicted This War. Here Is Exactly What Happens Next.
▶︎

Professor Jiang: I Predicted This War. Here Is Exactly What Happens Next.

Closing Keynote: C++ as a 21st century language - Bjarne Stroustrup
▶︎

Closing Keynote: C++ as a 21st century language - Bjarne Stroustrup

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

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

Perspectives on Contracts for C++ - Lisa Lippincott - CppCon 2024
▶︎

Perspectives on Contracts for C++ - Lisa Lippincott - CppCon 2024

Back to Basics: Concepts in C++ - Nicolai Josuttis - CppCon 2024
▶︎

Back to Basics: Concepts in C++ - Nicolai Josuttis - CppCon 2024

The Case for Graphics Programming Using the D Language - Mike Shah - ACCU 2025
▶︎

The Case for Graphics Programming Using the D Language - Mike Shah - ACCU 2025

Conan O’Brien Delivers the Commencement Address | Harvard Commencement 2026
▶︎

Conan O’Brien Delivers the Commencement Address | Harvard Commencement 2026