bag

Modern C++20: Multithreading Deep Dive & Concurrency Design

2 days ago

C++ Memory model, concurreny, multithreading, performance, modern C++, C++11/14/17/20, gdb, valgrind, C++ atomics

$9.99 USD $19.99

Created by: RougeNeuron Academy

Days
Hours
Min
Sec

Share if you liked:

C++ Memory model, concurreny, multithreading, performance, modern C++, C++11/14/17/20, gdb, valgrind, C++ atomics

Published en 14 Sep 2024

Udemy UK

What you'll learn

  • Details of C++ memory model on which atomics are built
  • Concepts of memory barriers and memory order in C++
  • Using Modern C++ to design lock free algorithms with C++ atomics and memory model
  • Importance of sequential consistency in concurrency
  • Getting high performane using C++ memory model
  • External factors influencing performance of atomics
  • Tools to use in production while working with C++ in production

Requirements

  • Should have basic experience with C++ syntax and coding independently
  • Should be able to follow up on details independently
  • The course provides guidelines and detailed concepts, patience needed to grasp the design ideas.
  • Course examples cannot be reproduced using coding exercises within Udemy. Learner is expected to understand the concepts and apply in their production as needed. Basic maturity to undertstand infrastrcutre limitations is requested.
  • A elementary understanding of operating systems and memory hierarchy will defintiely help grasping the concepts faster.

Description

Learn about memory models, atomics, and synchronization primitives in C++ and how to use them to write correct, efficient, and high-performance concurrent programs.

This intermediate-level course is designed for experienced C++ developers who want to deepen their understanding of concurrency and memory models in C++. You will learn about the C++ memory model, including the Sequential Consistency-Data Race Free (SC-DRF) guarantee, and how to use it to reason about the behavior of concurrent programs. You will also learn about different memory barriers and how to use them to enforce ordering constraints between memory accesses.

In addition, you will learn about atomics and how to use them to implement efficient synchronization mechanisms in your programs. You will explore the different types of atomics available in C++, including lock-free and wait-free algorithms, and learn how to use them effectively.

The course also covers false sharing in caches, which can lead to significant performance degradation in multi-threaded programs. You will learn how to identify and avoid false sharing in your code.


This course will help you dive deep into designing and implementing efficient concurrent data structures using the latest C++ features and best practices. These are skills that tools like ChatGPT will take years to develop.

The course expects the students to implement the discussed code independently. The course targets self-starters and intermediate-skilled programmers who are interested in nuances of design beyond copy-pasting assignments.

Concurrency is crucial in today's software development landscape, and creating data structures that multiple threads can safely and efficiently access is essential. In this course, you'll:

  1. Grasp the fundamentals of concurrency and the challenges of designing concurrent data structures.

  2. Explore various concurrent data structures and select the most suitable one for your use case.

  3. Learn about synchronization techniques and mechanisms in C++ for ensuring thread safety, including mutexes, condition variables, and atomics.

  4. Understand different memory models, lock-free and wait-free data structure design, and principles of memory reclamation and garbage collection.

  5. Work on practical examples and hands-on exercises to reinforce your knowledge, and design and implement concurrent data structures like queues, stacks, hash tables, and trees using the latest C++ features.

By the end of this course, you'll be well-equipped to design and implement high-performance concurrent data structures in C++ that can scale on multi-core systems and handle high levels of concurrency.

Discover the benefits of learning concurrency with C++20:

  1. Standardized support: Utilize C++20's new features and enhancements for concurrent programming, including parallel algorithms, atomic operations, and memory models.

  2. High-performance: Harness C++'s high-performance capabilities to create fast and efficient concurrent programs.

  3. Memory model improvements: Leverage C++20's new memory model to reason about concurrent program behavior and prevent subtle bugs.

  4. Enhanced type safety: Take advantage of improved type safety in concurrent programs with features like the atomic_ref class.

  5. Practical applications: Boost your competitiveness in the job market and develop high-performance software that can handle a high degree of concurrency.

Finally, the course provides an overview of performance analysis tools such as perf, Valgrind, Intel Vtune, Google Orbit, and gdb, which can be used to profile, debug, and optimize your code.


Throughout the course, you will work on practical examples and can pursue hands-on exercises independently to reinforce your understanding of the material. By the end of this course, you will have solid experience with memory models and concurrency in C++ and be able to write correct, efficient, high-performance concurrent programs.


Who this course is for:

  • C++ developers with atleast 1-2 year experience of coding
  • C++ developers curious to understand the details of C++11 memory model
  • C++ developers exploring options to write high performance concurrent applications in C++
  • C++ developers keen to catch up on Modern C++ concurreny and multhreading features like Coroutines.

You should keep in mind that the Coupons last a maximum of 4 days or until 1000 registrations are exhausted, but it can expire anytime. Get the course with coupon by clicking on the following button:

(Coupon valid for the first 1000 registrations): OF83024E
Udemy UK
Tags:

Add a new comment

Subscribe to our newsletter
Receive the latest Coupons and promotions Request Coupon