~/talk

“Boostache Exposed : the internals of Boost's template engine"

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

Boostache is a C++11 template engine that parses Mustache and Django-like templates with a Boost.Spirit parser, compiles them to a small set of compiled VM intrinsics (render, for-each, if/else, select, etc.), and applies those against user data via category-based type dispatch (sequence, associative, variant, optional, plain). It uses Fusion-adapted structs and an extended-variant for recursive models, offers extension points for render/test/for_each/context, compiles templates ahead of generation for speed, and partials and some context-walking features are still unfinished.

AI-written summary · about

  1. 0:00Introduction and Boost background
  2. 1:02What is Boostache
  3. 3:52Design goals of Boostache
  4. 7:03Basic usage example
  5. 9:34Handling complex data structures
  6. 13:08Template compilation overview
  7. 17:25Spirit parser implementation
  8. 24:04Abstract syntax tree printing
  9. 27:52Compilation to VM instructions
  10. 35:36Template generation engine
  11. 41:20Type categorization for data
  12. 48:09Context selection mechanics
  13. 53:02Extending Boostache with custom types
  14. 57:57Future development plans
  15. 1:01:10Q&A and closing remarks
~/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.