Back to Basics: const and constexpr - Rainer Grimm - CppCon 2021
https://cppcon.org/ https://github.com/CppCon/CppCon2021 --- It is a virtue to program as const as possible in modern C++. Your program is by design way more type safe, has fewer concurrency issues, and runs with high probability faster. Const has many flavors in modern C++. Thanks to const, you can protect a value against mutation. With constexpr, you can initialize and compute values at compile time. Thanks to conteval, a computation can only run at compile time. In the end, constinit empowers you to initialize a modifiable value at compile time. Let me show you in my lecture how you can initialize a value with constexpr and constinit in a thread-safe way. Let me show you how const and constexpr help you protect values from mutation and, therefore, make them immune to data races. Finally, let me show you how constexpr and consteval empowers you to improve the performance of your program and get functions that are by design easy to test, easy to maintain, and implicitly thread-safe. --- Rainer Grimm I've worked as a software architect, team lead, and instructor since 1999. In 2002, I created company-intern meetings for further education. I have given training courses since 2002. My first tutorials were about proprietary management software, but I began teaching Python and C++ soon after. In my spare time, I like to write articles about C++, Python, and Haskell. I also like to speak at conferences. I publish weekly on my English blog (https://www.modernescpp.com/) and the (https://www.grimm-jaud.de/index.php/b..., hosted by Heise Developer. Since 2016 he is an independent instructor giving seminars about modern C++ and Python. Rainer published several books in various languages to modern C++ and concurrency, C++20, and the C++ Core Guidelines, in particular. Due to his profession, Rainer always searches for the best way to teach modern C++ --- Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf --- Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk *--*

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

Back to Basics: Move Semantics (part 1 of 2) - Klaus Iglberger - CppCon 2019

The Cost of Concurrency Coordination with Jon Gjengset

Back to Basics: Templates (part 1 of 2) - Bob Steagall - CppCon 2021

How To Use `constexpr` In C++23 - Jason Turner - NDC TechTown 2024

Back to Basics: Compiling and Linking - Ben Saks - CppCon 2021

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Introduction to constexpr | Modern Cpp Series Ep. 86

Concurrency in C++: A Programmer’s Overview (part 1 of 2) - Fedor Pikus - CppNow 2022

C++ Under the Hood: (Internal Class Mechanisms) - Chris Ryan - NDC TechTown 2024

Back to Basics: Pointers - Mike Shah - CppCon 2021

An Introduction to Multithreading in C++20 - Anthony Williams - CppCon 2022

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Back To Basics: Overload Resolution - CppCon 2021

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Why Building AI Data Centres Isn’t Working Anymore

C++ Code Smells - Jason Turner

Back to Basics: Concurrency - Arthur O'Dwyer - CppCon 2020

Back to Basics: Lambdas - Nicolai Josuttis - CppCon 2021

