~/talk

Early Modern C++: How to Handle a C++03 Codebase in $CURRENT_YEAR

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, legacy-modernisation]
slides:none on file

Argues that Modern C++ principles—zero-cost abstractions, strong typing, concepts-like generic code and RAII—predate C++11 and that many C++11/14/17 conveniences can be emulated in C++03. Demonstrates concrete fixes: replace a slow handmade reverse by std::reverse because swap beats naive move; emulate lambdas with small functor structs; use Boost (notably Boost.Move) and thin wrapper types in a separate support compatibility namespace to provide unique_ptr/optional/function equivalents. Claims these tricks work in large C++03 bases but upgrading compilers still raises productivity, interop and performance.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:26What is Modern C++?
  3. 5:45Modern C++ tenets explained
  4. 17:51Do you need C++11 for Modern C++?
  5. 22:02Emulating modern features in C++03
  6. 34:07Why upgrade from C++03?
  7. 44:00Conclusion 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.