C++Now 2017: Odin Holmes "Type Based Template Metaprogramming is Not Dead"
Channel: CppNow
Date: 06/06/2017

http://cppnow.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/boostcon/cppnow_presentations_2017
—
Boost.Hana with its claim to the title "your standard library for metaprogramming" has opened this domain to many. For library implementers and experts however there is one thing Hana's new value based metaprogramming is lacking, compilation speed. In this talk I will present several new patterns which allow type based metaprograms to reach mammoth size at acceptable compilation speed. The separation of algorithm and data as well as the composition of operations allow us to save most of the intermediate types so that the compiler has far less work when calculating the same result. 
— 
Odin Holmes has been programming bare metal embedded systems for 15+ years and as any honest nerd admits most of that time was spent debugging his stupid mistakes. With the advent of the 100x speed up of template metaprogramming provided by C++11 his current mission began: teach the compiler to find his stupid mistakes at compile time so he has more free time for even more template metaprogramming. Odin Holmes is the author of the kvasir::bit library, a DSL which wraps bare metal special function register interactions allowing full static checking and a considerable efficiency gain over common practice. He is also active in building and refining the tools need for this task such as the brigand MPL library, the kvasir::mpl. He is also a contributor the the SG14 working group and co-organizer of the embo.io bare metal embedded conference.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
---

*--*

---