~/talk

Compile-time tools supporting generic programming in C++

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

Shows concrete compile-time workflows: use metashell plus the MDB debugger to instantiate an expression, get forward/back traces and the instantiation tree, or run the patched clang/templite to emit callgrind traces viewable in kcachegrind; use boost_mp_print or boost::typeindex, GDB or a tiny runtime to print type names. Demonstrates a >3s Boost.Graph compile hotspot, thousands of template instantiations, and working debugger/profiler tooling (requires a clang patch or provided binaries).

AI-written summary · about

  1. 0:00Intro
  2. 1:35Generic programming
  3. 2:33Using templates
  4. 4:03Template metaprogrammers
  5. 5:25Available tools
  6. 8:26Approaches
  7. 8:38Enforced error message
  8. 9:11boost::mpl::print
  9. 9:55metamonad: fail_with_type
  10. 10:29Displaying the name at runtime
  11. 15:28What is the type of...? #2
  12. 19:58Metashell
  13. 21:36What is the type of...? #3
  14. 24:55KCache Grind
  15. 27:16Understanding template instantiations
  16. 27:27Summarising numbers
  17. 28:53An STL example
  18. 31:31Compilation speed
  19. 39:01What gets instantiated?
  20. 40:05Example code
  21. 41:54How to see what went wrong
  22. 45:41It all depends on a Clang patch
~/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.