Let's Program live: Joy and Pain of Concurrency with C++11 and C++20

Nico Josuttis

90
beginner
intermediate
advanced
11:00-12:30, Wednesday, 3rd July 2024

Multi-threading and concurrency are key features for modern programming. Basically, the features look simple, but there are many devils in the details. Let's enjoy and feel the pain by live-encoding a pretty simple program running step by step into several issuesand solve them with the tools of C++11 and C++20.

This experience will improve your awareness of using multiple threads for parallel computing. You will learn about both general issues as well as Modern C++ concurrency features.

You will learn about - What you should keep in mind when starting and using multiple threads - How to synchronize multiple threads - Why some naive assumptions about multi-threading are wrong - How much effort error handling needs - Some C++20 features that can help you

Let's have fun and learn by example.

multi-threading
concurrency
synchronization
std::jthread
barriers
exception handling

Nico Josuttis

Nicolai Josuttis (www.josuttis.com) is well-known in the community for his authoritative books and talks. For more than 20 years he has been a member of the C++ Standard Committee. He is the author of several worldwide best-sellers, including: - C++20: The Complete Guide - C++17: The Complete Guide - C++ Move Semantics: The Complete Guide - The C++ Standard Library: A Tutorial and Reference - C++ Templates: The Complete Guide (w/ David Vandevoorde & Doug Gregor)