slavik81on Hacker News • Recommends
On “C++17 Is Here: Interview with Herb Sutter”
189K subscribers • 103 videos on Hallway • Conference channel
Advanced. Deep dive for people who know the field.
104K views9 years ago4 recommendations
Programming languagesSystems programmingC++Language design and type systemsCompilers and interpreters
Herb Sutter presents a proposal for compile-time code generation and metaclasses in C++ to make the language simpler and more powerful.
CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2017 — Two years ago, I started to focus on exploring ways that we might evolve the C++ language itself to make C++ programming both more powerful and simpler. The only way to accomplish both of those goals at the same time is by adding abstractions that let programmers directly express their intent—to elevate comments and documentation to testable code, and elevate coding patterns and idioms into compiler-checkable declarations. The work came up with several potential candidate features where judiciously adding some power to the language could simplify code dramatically, while staying true to C++'s core values of efficient abstraction, closeness to hardware, and the zero-overhead principle. The first two potential candidate features from that work to be further developed and proposed for ISO C++ are the <=> unified comparison operator (minor) and what I've provisionally called "metaclasses" as a way to generatively write C++ types (major). This talk is about the latter, and includes design motivation, current progress, and some live online compiler demos using the prototype Clang-based compiler built by Andrew Sutton and hosted at godbolt.org. — Herb Sutter - Software architect, Microsoft Herb chairs the ISO C++ committee and is the primary author or co-author of a number of Standard C++ features, including nullptr, enum class, parallel algorithms, C++17 structured bindings, and the in-progress unified <=> comparison operator. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: BashFilms.comWhat people say. Recommended as an outstanding CppCon talk explaining the potential of compile-time reflection and metaclasses in C++.
slavik81on Hacker News • Recommends
On “C++17 Is Here: Interview with Herb Sutter”
xaedeson Hacker News • Recommends
On “Outperforming LAPACK with C++ metaprogramming”
programming-talkscurated list on GitHubRecommends
Under “C++”
u/oilshellin r/ProgrammingLanguages • Mentions
On “ZL Language: a C compatible and C++ like programming language with Scheme-like macros”
tylerhouon Hacker News • Mentions
On “Is the preprocessor still needed in C++? (2017)”
tylerhouon Hacker News • Mentions
On “Is the preprocessor still needed in C++? (2017)”