~/talk

Expression Templates: Past, Present, Future

Talkat CppCon 2015 · 2015-09-21..09-25· [compilers-and-language-design]
slides:none on file

Covers practical limits and fixes for expression templates: shows that automatic type deduction causes wrong types and duplicated work for expressions, that storing subexpressions by reference leads to dangling references and release-mode crashes, and that deep_copy fixes correctness at high runtime cost. Uses Boost.Proto and a hand-rolled DSL that computes symbolic derivatives and a simplifier at compile time, with working code on GitHub. Proposes C++14 polymorphic lambdas to compress symbol names and a storage policy using move/decay; prototype reports 2–3x faster compile times in many cases.

AI-written summary · about

  1. 0:00Tree Custom Transform
  2. 1:39Automatic type deduction
  3. 6:26The Sub expression issue
  4. 10:22Compilation time
  5. 25:33Expression Templates in C++11/14
  6. 27:14auto and Expression templates
  7. 29:01The shiki library
  8. 42:07Let's go radical
  9. 44:09Expression Templates ? Really!
~/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.