Skip to content
0:00 / 0:00

#constexpr#compile-timeprogramming#c++17

C++Now 2017: Ben Deane & Jason Turner "constexpr ALL the things!"

CppNow

39K subscribers • 42 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on C++Now, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Ben Deane & Jason Turner
  • Linked in the descriptionboostcon/cppnow_presentations_2017
  • An opinion. It argues one side of a question engineers disagree on.

Advanced. Deep dive for people who know the field.

21K views9 years ago

Programming languagesSystems programmingC++Performance and optimizationCompilers and interpreters

Ben Deane and Jason Turner explore the power of constexpr in C++17, demonstrating compile-time data structures and algorithms.

cppnow.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/boostcon/cppnow_presentations_2017 — constexpr: in C++11, a curiosity; in C++14, viable for more uses; now with added power, in C++17 will it become an important tool in the programmer’s toolkit? In this talk we will examine the possibilities and power of constexpr and explore what can (and what should) be done at compile-time with C++17. We’ll present techniques for building constexpr data structures and algorithms, and for effectively meshing compile-time and runtime computation with constexpr API constructs. We’ll also consider the opportunities for judicious use of user defined literals for expressive compile-time abstractions. Compile-time computation offers perhaps the ultimate zero-cost abstraction, and this talk attempts to answer the question of how C++17 delivers on the promise. — Ben has been writing games for almost 20 years, and in C++ for most of that. He is currently a Principal Engineer at Blizzard Entertainment where he works on the Battle.net team. He's always looking for useful new techniques in C++, and he likes functional programming. Host of C++Weekly youtube.com/c/JasonTurner-lefticus, Co-host of CppCast cppcast.com, Co-creator and maintainer of the embedded scripting language for C++, ChaiScript chaiscript.com, and author and curator of the forkable coding standards document cppbestpractices.com. — Videos Filmed & Edited by Bash Films: BashFilms.com --- *--* ---

Why it's here

A top upload from a listed channel

C++Now is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.