~/talk

What Can C++ Learn About Thread Safety From Other Languages?

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Argues C++ can borrow Rust/Swift ideas by adding send/sync traits and using C++26 reflection and metaclass generation to wrap types into synchronized_value, arc and copy‑on‑write wrappers; demonstrates a prototype "safe thread" library using concepts and reflection that forces shared_ptr+synchronized wrappers but is not bulletproof and produces heavy template errors and runtime overhead (TSAN-like costs reported as 5–15× slower, 5–10× memory); shows actors via senders/coroutines work and highlights remaining unsolved lifetime and aliasing cases.

AI-written summary · about

  1. 0:00Introduction
  2. 1:21Defining thread safety
  3. 3:35Multithreading landscapes
  4. 6:06Sync and send in C++
  5. 9:36The limitations of custom wrappers
  6. 16:50Comparing C++ to Rust
  7. 19:40Reflection for safety
  8. 24:23Metaclass generation
  9. 30:49Advanced concurrency patterns
  10. 40:04Actor models and runtime safety
  11. 46:22Future directions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.