~/talk

Prog C++

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [career-development]
links:none on file
slides:none on file

Closing keynote proposes concrete idioms and tiny library pieces: a lazy keyword emulated by a class template using std::optional and call_once for thread‑safe deferred init, an immutable wrapper that preserves move semantics while exposing const accessors, and always‑use copy‑and‑swap assignment with friend swap implemented via std::tie to guarantee strong exception safety. Also shows generator‑based coroutines yielding expected/error messages for incremental error fixes, a HeapValue value‑semantic pointer type, and a unique‑key locking pattern to make locking compiler‑checked.

AI-written summary · about

  1. 0:00Introduction
  2. 2:51What is Prog C++
  3. 6:29Const by default problems
  4. 8:59Lazy idiom for deferred init
  5. 13:01Const not always best
  6. 17:37Extending C++ with lazy/immutable
  7. 20:04Dangers of custom assignment
  8. 23:14Copy and swap idiom
  9. 27:09Why swap is powerful
  10. 31:06Too many states problem
  11. 35:53Variants for state transitions
  12. 41:15Expected and error handling
  13. 44:51Exceptions not always best
  14. 46:57Coroutines for error handling
  15. 57:05Values vs variables
  16. 1:01:47Pimpl pitfalls
  17. 1:11:29Safety and correctness idioms
  18. 1:24:00Locking and deadlocks
  19. 1:33:12Provable idiomatic C++
  20. 1:44:18Progressive C++ future
  21. 1:50:01Final thoughts Q&A
~/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.