~/talk

C++ parallel programming models

Talkat Core C++ 2024 · 2024-11-26..11-28· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Quick practical tour of four concrete models and when each fits: threads, atomics, mutexes for low‑level building blocks and lockfree or long‑running services; std::async futures promises for simple task spawning but lacking composability and scheduling control; coroutines lack scheduler (C++20) for cooperative async IO but require a scheduler and coroutine‑aware sync to avoid blocking threads; and C++17 parallel algorithms with execution policies for data‑parallel loops. Mixing models is difficult and C++26 hopes to add RCU and hazard pointers for concurrent data structures.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:28Why parallel programming matters
  3. 4:41Unstructured parallelism model
  4. 13:42Task-based parallelism model
  5. 21:04Cooperative multitasking with coroutines
  6. 30:49Concurrency vs parallelism explained
  7. 41:39Data parallelism with C++17
  8. 51:28Mixing parallel programming models
  9. 57:35Summary and real-time systems
  10. 58:17Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.