CppCon 2016 has ended
Back To Schedule
Friday, September 23 • 9:00am - 10:00am
How bad is Meta-Programming still today?

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

When innovation-hungry programmers discovered by accident that C++
allows us to calculate and transform programs at compile time, an
humongous hype was triggered: gigantic research projects were launched
to develop self-optimizing software. Unfortunately, such software also
had gigantic compile times of up to several days on parallel
machines. And the syntax of template meta-programming can drive the
toughest geeks into insanity. Despite this disillusion, the compiler
support improved over the years and constexpr brought us a much
simpler syntax.

In this light we like to ask the questions: What can,
should, and must we compute at compile time? Which new opportunities
offer constexpr and their extension in C++14? What have to be done
in the classical manner still? We will discover the different techniques of
meta-programming with examples of simple examples, type information,
expression templates and meta-tuning. Without becoming unbearably
theoretical, we will show the equivalence of constexpr in C++11 and
C++14 and their Turing completeness.


Peter Gottschling

CEO, SimuNova
Peter Gottschling is founder of SimuNova, a company that works on developing the Matrix Template Library (MTL4) and offers C++ training. He is a member of the ISO C++ standards committee, vice-chair of Germany s programming language standards committee, and founder of the C++ User... Read More →

Friday September 23, 2016 9:00am - 10:00am PDT
Kantner (Room 403) Meydenbauer Center