C++Now 2015 has ended
Please visit the C++Now website.
Back To Schedule
Thursday, May 14 • 4:30pm - 6:00pm
Boostache Exposed - the internals of Boost's template engine

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Template engines are commonly found generating web pages, customer reports, or even source code. They take a source template and data model as input and generate some desired output.

Boostache was started as the Library in a Week challenge from CppNow'14. It initially supported the mustache template format and a recursive variant based data model.

Today Boostache supports multiple template formats and adapts automagically at compile time to a variety of user defined data models. Many of the techniques utilized in Boostache are the same that Ciere has employed in custom IDL compilers and Domain Specific Language systems, compilers, and runtimes.

This talk will introduce Boostache and then delve into the internal architecture and design of the library. We will explore some implementation details of the parser, compiler, virtual machine, and generic data model infrastructure with the goal to expose useful techniques and patterns from this C++11 code base that can be used in participants libraries and applications.


avatar for Michael Caisse

Michael Caisse

Ciere Consulting
Michael Caisse has been crafting code in C++ for nearly 25-years. He is a regular speaker at various conferences and is passionate about teaching and training. Michael is the owner of Ciere Consulting which provides software consulting and contracting services, C++ training, and Project... Read More →

Thursday May 14, 2015 4:30pm - 6:00pm MDT

Attendees (0)