Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Better Code - Concurrency

NDC Conferences via YouTube

Overview

Explore advanced concurrency techniques in C++ through this comprehensive conference talk. Delve into building a task system using C++14 primitives, focusing on creating software that maximizes efficiency through parallelism. Learn about synchronization primitives, performance optimization, Amdahl's Law, and task stealing. Discover implementation details of a tasking system, including live dispatch, exception marshaling, and handling blocking threads. Examine the intricacies of futures, continuations, and promises, while gaining insights into potential pitfalls and best practices for concurrent programming. Enhance your understanding of modern C++ concurrency to write more efficient and responsive software.

Syllabus

Intro
Goals
Lightroom for Web
Definitions
Synchronization Primitives
Getting them wrong
Fixing bugs
Performance through parallelism
Amdahls Law
Mutex
Tasking System
C Implementation
Task Stealing
Push to Spin
Live Dispatch
CEO
Tasking
Power
Marshaling Exceptions
Blocking Threads
Stops
STD Future
STD Sink
STD Future Wait
Warnings
Fibonacci continuation
Futures vs completion handlers
Joins
abort
shared future
split future
promise

Taught by

NDC Conferences

Reviews

Start your review of Better Code - Concurrency

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.