Skip to content
0:00 / 0:00

#c++20#bjarnestroustrup#templates

C++20: C++ at 40 - Bjarne Stroustrup - CppCon 2019

CppCon

189K subscribers • 123 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Bjarne Stroustrup, creator of C++
  • Linked in the descriptionCppCon/CppCon2019
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

281K views7 years ago1 recommendation

Programming languagesSystems programmingC++Language design and type systems

Bjarne Stroustrup reflects on forty years of C++ and explains how modern features like classes, templates, and lambdas fit together.

CppCon.org Discussion & Comments: reddit.com/r/cpp/ Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2019 — C++20: C++ at 40 It is now 40 years since C++ (then called C with Classes) had its first non-research user. It is now 35 years since the first commercial release of C++. It is now 30 years since the start of the standards process. So what is C++? I will try to explain what's great about C++, C++20, as a modern language, not treating it as a layer cake of features. Imagine you have never heard of C, C with Classes, or C++11. How do classes, templates, and lambdas fit together? What have constructors and destructors to do with exceptions? What's in the standard library? How can we start using C++? Finally, I will make a few comments about how to get from older styles of C++ use to modern C++ and point to areas where we need to improve C++ further. — Bjarne Stroustrup C++: history, design, use, standardization, future; performance, reliability; software developer education;distributed systemsBio: www.stroustrup.com/bio.html — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf

Why it's here

1 person recommends this

What people say. Recommended as an insightful keynote where the creator of C++ addresses the language's evolution and flaws honestly.

Moments people linked to

u/shponglesporein r/programming • Recommends

On “Bjarne Stroustrup (Creator of C++) Answers Top 5 Stack Overflow C++ Questions”

On a related note, his keynote from CppCon 2019 is worth watching. I was surprised by how much I agreed with him, considering how much I hate working with C++. A lot of C++ devs I work with seem to have Stockholm syndrome, to the point that they see all the obvious flaws of C++ as advantages, and I was expecting Stroustrup to be equally dogmatic, but he seems to see the flaws as well as anyone.

u/umop_aplsdnin r/programming • Mentions

On “std::visit is Everything Wrong with Modern C++”

> (this is not automatic for template classes for reasons that I don't remember) It's not automatic for cases where there are name collisions due to multiple inheritance. https://godbolt.org/z/Ehcajd. In your example, since all classes have a function named operator() with different argument types, the compiler will not automatically let you reference them unless they are fully qualified. `using` "overrides" this. The operator() functions should not be ambiguous because they should have different argument signatures. EDIT: Was looking at some old C++ talks and happened upon where they got this code: link to this video
2View on Reddit

u/and69in r/programming • Mentions

On “Azure CTO: Git making me want to pull my hair out yet again. One of the most unintuitive, clunky interfaces of any software I've ever used.”

>[I use C++ a lot but not because I like the language but because others don't have what I need.]
1View on Reddit