~/talk

This is C++ - How to Use the C++ Superpower to Write Better C++ Code

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [c-and-cpp, software-architecture]
name:Jon Kalb
github:boostcon
slides:none on file

Argues C++’s superpower is uncompromised performance achieved by embracing undefined behavior and the zero‑overhead rule, then shows concrete costs: a safe div doubles ops, vector::operator[] avoids range checks while at pays, uninitialized locals save cycles, and move semantics reduce copies. Deep dive into move‑from: std::vector/list rules force extra work (sentinel nodes, noexcept differences), the unique_ptr sort comparator example, and an OS viewport case that breaks invariants — frames the current standards controversy and why it matters.

AI-written summary · about

  1. 0:00C++ on Sea 2024
  2. 1:53C++'s purpose and superpower
  3. 10:03Performance priority in C++
  4. 18:14Undefined behavior strength
  5. 21:01Safety trade-offs in C++
  6. 30:59Compiler assumptions on UB
  7. 33:25C++ ecosystem safety
  8. 38:08Move semantics and performance
  9. 51:14Standard Library's move operation trade-offs
  10. 1:00:05Herb Sutter on move semantics
  11. 1:15:03Move semantics in OS APIs
  12. 1:20:02Summary on C++'s future
~/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.