CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now”
Channel:CppCon · Length:1:02:33 · Published:2017-10-17 · Views:143830
Summary
Kate Gregory's CppCon 2017 talk picks ten highlights from the C++ Core Guidelines and shows examples and benefits for each. It is aimed at C++ developers of any experience level who have not read the full guidelines.
Why HN recommends it
Recommended as the condensed tl;dr of the C++ Core Guidelines and as a route into modern C++.
I recommend the tl;dr version from Kate Gregory at CppCon 2017 — HN, 2018
C, C++, Rust, Go & systems languages
Subtitles (excerpt)
- [Kate] Hey, good morning everyone. - [Audience] Good morning. Thank you for waking up and dragging yourself here, something that's going to get harder and harder as the week goes on, I appreciate it. My name is Kate Gregory and I was trying to figure out exactly when I started writing in C++, but I didn't know was going to be like a momentous occasion. But I'm going to declare that it was 1987 'cause then I can say I've being do it for 30 years. And in that time I've learned an awful Lot and I like to tell my children, "The only thing better than learning from your mistakes" "is learning from someone else's." And that's kinda what this is all about. So let's start with a show of hands, not counting the title of this talk, the abstract of this talk, or Monday's keynote, how many of you had heard of the C++ core guidelines? That's pretty good, that's about three quarters. I'm happy about that. How many of you have been to GitHub to this URL just once and looked at it at least once. So that's less hands by a dramatic factor like about a third of you. How many of you have again once changed the way you code something or persuaded someone else to change the way they were going to do something
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" - [LINK] Some of the Kate Gregory vide… — pjmlp, 2018-03
I recommend the tl;dr version from Kate Gregory at CppCon 2017, “10 Core Guidelines You Need to Start Using Now”: [VIDEO] — boltzmannbrain, 2018-03
In fact, Sutter (et al) are working on lifetimes in CppCoreGuidelines [1]. I built their clang tree and tried it out without bothering to RTFM and tried out the warning on a pile of C++ code. I naively assumed that it might be a generally-useful warning ("-Wlifetime") that's not ready to be introduced upstream. That's not the case AFAICT. What I suppose I would've learned from RTFM is that the pr… — wyldfire, 2019-07
No, GSL is a kind of stop-gap solution, until standard catches on. For example std::string_view and ongoing design on std::array_view are based on gsl::span . The gsl::byte is also no longer needed on C++17 thanks to std::byte as yet another example. The GSL asserts are there until code contracts[0] get into the standard. The magical types like gsl::owner allow clang-tidy and VC++ checkers to app… — pjmlp, 2017-11
Related videos
- CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++” · CppCon · 1:00:07
- CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style" · CppCon · 1:40:26
- 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 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