~/talk

“Migrating a C++03 library to C++11 case study: Wt 4”

Talkat CppCon 2017 · 2017-09-24..09-29· [c-and-cpp, software-architecture]
links:none on file
slides:none on file

Wt 4 migrates a large C++03 codebase to C++11, replacing boost.signals2 with a lambda/std::function/std::bind based implementation, swapping Boost.Date_Time for chrono + Howard Hinnant’s date, and removing Boost headers from public API. Ownership shifts to make_unique + move ownership with templated addWidget overloads that return raw pointers and a lightweight observing pointers invalidation scheme. Preprocessed size drops to ~1/5, compile time falls by ~1/5, and Windows installer size shrinks by about threefold.

AI-written summary · about

  1. 0:00Introduction to Wt migration
  2. 1:04What is Wt framework
  3. 5:07Goals for Wt 4 modernization
  4. 6:37Memory management in Wt 3
  5. 10:32Ownership model alternatives
  6. 12:29Safe widget ownership with unique_ptr
  7. 13:36Detecting use-after-move issues
  8. 14:42Simplified widget addition
  9. 15:28Observing pointers for safety
  10. 16:58Replacing Boost with STL
  11. 18:49Performance improvements
  12. 20:17Windows build benefits
  13. 20:41Conclusion and 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.