The C++ Execution Model

By Bryce Adelstein Lelbach

At the heart of the C++ programming language is the multi-threaded abstract machine and its execution model, the platform-agnostic formal model that generically describes how to run a C++ program. In this talk, you will learn the rules that govern how your C++ code is executed and see how those rules impact the C++ code you write every day.

We’ll explore the C++ execution and memory model, and discuss fundamental questions such as:

  • What are threads in C++ and how do they interact?

  • What is memory in C++?

  • In what order are things in my C++ program executed?

  • How are C++ expressions and statements executed?

  • What are the semantics of calling a function in C++?

  • What does "happens before" mean?

If you’re interested in gaining a deeper understanding of how your C++ code is executed and how concurrency works in C++, you should attend this talk.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.