~/talk

Expression Templates for Efficient, Generic Finance Code

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
links:none on file
slides:none on file

Shows a small expression-template library that replaces costly temporaries with cheap descriptor objects, using C++17 features like auto return type deduction and class template argument deduction, std::apply+tuple and lambdas to record operations (callable F_ and operand tuple) and evaluate into the destination via operator[]/subscript. Removes heap allocations (avoids runtime allocations during assignment), recovers the ~12x slowdown from naive temporaries, supports scalars and vectors uniformly, inserts a single loop to batch work and keeps changes local to existing code.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:22Legacy code analysis
  3. 2:11Refactoring motivation
  4. 5:03Performance issues
  5. 6:55Expression template overview
  6. 8:48Implementation details
  7. 12:14Operator definitions
  8. 14:41Type constraint techniques
  9. 16:37Execution and calculations
  10. 18:40Recursive evaluation
  11. 21:09Summary of benefits
  12. 23:12Q&A session
~/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.