CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style"
Channel:CppCon · Length:1:40:26 · Published:2014-09-30 · Views:323577
Summary
Herb Sutter revisits basic C++ questions in light of C++11 and C++14: how to declare and initialize variables, pass values to functions, write loops, and use smart pointers. It covers auto, rvalue references, range-for, uniform initialization, lambdas, unique_ptr and shared_ptr.
Why HN recommends it
HN people list it among the go-to talks for learning or refreshing modern C++ style, and cite it for Sutter's guidance on function parameter passing.
— HN, 2018
C, C++, Rust, Go & systems languages
Subtitles (excerpt)
Herb Sutter: Hey have you enjoyed the week so far? I'm not sure if both my ears are working right. This half of the room, have you enjoyed cppcon so far? You, guys, what do you think? I don't know. They might have had an extra decibel. Let's hear all of you one more time. Thank you. This has been such an awesome week for C++ and also a really festival atmosphere here. We want to thank you all very much for coming and it's been a blast. We're now at our final plenary session. I'd like to introduce the speaker whose name happens to also be Herb. Please, give a warm welcome. Hi. My name is Herb. You're supposed to say, "Hi, Herb." Audience: Hi, Herb. Herb Sutter: It has been 1 year, 3 months and 18 days since my last template Meta program. Today, I want to talk about the importance of resisting complexity. I never thought it would happen to me. I was introduced to complexity by a friend or at least I thought he was a friend. He showed me a cool programming trick on his computer at home in private and it really worked on his compiler. I started using a little complexity, but just a little bit and only at home, but after a while as I got used to using complexity and something strange happened that the thrill faded. It didn't seem as complex anymore. It seemed simple,
On Hacker News
- Tour of C++ ( [LINK] ) - Principles and Practice Using C++ ( [LINK] ) - From Mathematics to Generic Programming ( [LINK] ) - The Scott Meyers books Some of the Bjarne Stroustrup videos, "Learning and Teaching Modern C++" - [LINK] Some of the Herb Sutter videos, "Writing Good C++14... By Default" - [LINK] "Back to the Basics! Essentials of Modern C++ Style" - [VIDEO] Some of the Kate Gregory vid… — pjmlp, 2018-03
Herb Sutter, one of the most prolific C++ experts out there, recently gave a talk on Modern C++ [1]. In the beginning of his talk, he states that every C++ developer should read a "Tour of C++" [2] by Bjarne Stroustrup, the original designer of C++. I recently read it and it's great. The book has less than 200p, but still covers the most important parts of C++11, albeit not in great detail (the r… — jerv, 2014-12
ASan, UBSan, etc. are absolutely life-changing, no doubt about it. But there's a pretty big difference between catching things statically, and catching them at runtime. If you have an issue that, say, only triggers on odd-numbered Tuesdays on Windows 7, your tests suite is probably going to miss it, and ASan isn't going to be able to help you. Here's an example from one of Herb Sutter's talks, wh… — oconnor663, 2021-05
In our 60+ team of C++ programmers, a constant theme that keeps coming up in code reviews is how a function optimally takes its parameters. There's been enough overthinking and I came across Herb Sutter's CppCon 2014 Essentials of Modern C++ Style [1] where he explains the various cases. I made a cheat sheet (1-page PDF) for quick reference of the options and when to go for them. Comments and sug… — legends2k, 2019-11
Related videos
- CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++” · CppCon · 1:00:07
- CppCon 2015: Kate Gregory “Stop Teaching C" · CppCon · 1:00:11
- Edwin Brady - Idris 2 - Type-driven Development of Idris · Curry On! · 40:38
- Eric Bier Demonstrates Cedar · Computer History Museum · 1:56:07
- CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.” · CppCon · 1:39:25
- CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++” · CppCon · 1:36:26
- "A Political History of X" - Keith Packard (LCA 2020) · linux.conf.au · 45:33
- RailsConf 09: Robert Martin, "What Killed Smalltalk Could K · O'Reilly · 1:00:55
- CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now” · CppCon · 1:02:33
- CppCon 2015: Herb Sutter "Writing Good C++14... By Default" · CppCon · 1:29:05
- Yesterday's Computer of Tomorrow: The Xerox Alto │Smalltalk-76 Demo · Computer History Museum · 16:48
- SYMBOLICS S-PACKAGES 3D GRAPHICS AND ANIMATION DEMO · Red Martian · 29:16
- Alto System Project: Dan Ingalls demonstrates Smalltalk · Computer History Museum · 2:08:02
- Alan Kay's tribute to Ted Nelson at "Intertwingled" Festival · TheTedNelson · 17:33
- Introducing a Memory-Safe Successor Language in Large C++ Code Bases - John McCall - CppNow 2023 · CppNow · 1:22:20
- A Narrative History of BSD, Dr. Kirk McKusick · bsdconferences · 53:54