~/talk

C++ Metaprogramming: A Paradigm Shift

Talkat CppCon 2015 · 2015-09-21..09-25· [c-and-cpp]
links:none on file
slides:none on file

Argues that C++14 lets metaprogramming use normal C++ syntax and builds a single library that replaces MPL and Fusion, showing a working Boost library Hana with ~80 algorithms, eager heterogeneous tuples, and a compile-time string type for struct keys (compile-time strings). Demonstrates: integral-constant objects enabling operator-based compile-time arithmetic and loop unrolling (integral constants), tuple algorithms like transform/filter implemented with index sequences, and measured improvements in compile and include times.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Types of computations
  3. 0:53Ntime computations
  4. 2:02Runtime world
  5. 2:31Algorithms
  6. 2:57Heterogenous Computation
  7. 3:19Template Functions
  8. 5:07Typelevel computations
  9. 5:32Typelevel functions
  10. 6:00Heterogeneous computations
  11. 6:37C14 changes everything
  12. 7:10Im biased
  13. 7:26Exit Tax
  14. 8:02Detection idiom
  15. 8:48Detection lambda
  16. 9:19introspection
  17. 10:57remote
  18. 11:16serializing
  19. 12:10base types
  20. 12:44userdefined types
  21. 13:21cute examples
  22. 13:34messages
  23. 14:37compile times
  24. 16:11rethink metaprogramming
  25. 16:42integral constant
  26. 18:31integral constant objects
  27. 21:07implicit conversion
  28. 21:40variable templates
  29. 22:02userdefined literal
  30. 23:58realworld example
  31. 24:22normal operators
  32. 24:40auto
  33. 25:35runtime values
  34. 26:27loop unrolling
  35. 27:21operator bracket
  36. 28:10ratio
  37. 29:01type threads
  38. 29:27functions
  39. 30:50why
  40. 31:37filter
  41. 32:51single library
  42. 33:34a domainspecific language
  43. 35:32compiletime maps
  44. 36:35case study
  45. 37:21make it simple
  46. 37:40default
  47. 38:08switch
  48. 41:21processing cases
  49. 46:54Sebastian Riddle
~/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.