~/talk

Temporal Dynamics - Exploring the Intricacies of Object Lifetimes in Modern C++

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [software-architecture]
links:none on file
slides:none on file

Builds a database connection pool that enforces move only semantics, disables copying, and uses RAII plus smart pointers to avoid leaks, showing std::unique_ptr, std::shared_ptr and std::weak_ptr in practice. Implements move constructors and move assignment, uses perfect forwarding with std::forward and emplace_back to avoid deep copies, and follows Rule of Six and Zero to guide decisions. Example targets ~200 connections and reports improved memory safety and scalable performance — the design works at production scale.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:54Database connection pool basics
  3. 9:02Rule of Six and Rule of Zero
  4. 17:26RAII and resource management
  5. 25:24Move semantics and perfect forwarding
  6. 31:49Custom destructors strategy
  7. 36:44Key takeaways and conclusion
~/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.