Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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