Workshop Interview - Understanding Object Lifetime For Efficient and Safer C++
summary
Hands‑on workshop that teaches the concrete rules and gotchas that change code size, safety, and speed: exact object lifetime semantics, when an rvalue reference still requires std::move and std::forward, how member variable and lambda capture lifetimes behave, and how the C++ memory model interacts with object creation/destruction. Covers RAII, returning and passing values, and practical uses of constexpr and C++23 features to move work to compile time. Claims that correct lifetime discipline often yields simpler, safer code than alternatives.
AI-written summary · about
chapters (9)
- 0:00Workshop introduction
- 1:05Interactive talk style
- 2:27Target audience
- 3:49Balancing learners
- 5:38Rejecting labels
- 7:44Object lifetime basics
- 9:11C++ simplicity
- 9:58Conan 2.0 constraints
- 11:00Workshop encouragement
related talks
55mObject Lifetime in C++: From Start to Finish
58mModern C++ Design (part 2 of 2)
36mInterfaces Matter
01h 13mNothing is better than copy or move
01h 11mI just wanted to point to something!
01h 23mRethink Polymorphism in C++
32mCute C++ Tricks, Part 2 of N: More code you should learn from and never write
01h 01mEasy to Use, Hard to Misuse: Declarative Style in C++
