5 ms·
Keynote: The Problem of C++ – Klaus Iglberger [video]
- covoeus 1y agoSummary: Klaus argues that while it is very easy to write unsafe C++ due to language defaults, modern tools and language features, such as - ranges over loops, - strong types with concepts over primitives, and - value semantics over references provide a safe abstraction over a fast core. He also urges people to use constexpr wherever possible and write consteval tests to catch undefined behaviour at compile-time. In his opinion, the "People problem" of C++ is that developers are not disciplined enough, or simply don't know any better, as even most books about C++ don't keep up with recent developments and cultural shifts.