Skip to content
0:00 / 0:00

#c++coreguidelines#modernc++#gsl

CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now”

CppCon

189K subscribers • 103 videos on Hallway • Conference channel

YouTube
  • Recommended by 3 people: 2 on Hacker News and 1 curated list.
  • Presented by Kate Gregory
  • Linked in the descriptionCppCon/CppCon2017

Intermediate. Assumes working knowledge.

143K views9 years ago3 recommendations

Programming languagesSystems programmingC++Design patternsMemory management

Kate Gregory selects ten essential rules from the C++ Core Guidelines and explains how they help write safer, cleaner, and more modern C++.

CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2017 — The C++ Core Guidelines were announced at CppCon 2015, yet some developers have still never heard of them. It's time to see what they have to offer for you, no matter how much C++ experience you have. You don't need to read and learn the whole thing: in this talk I am pulling out some highlights of the Guidelines to show you why you should be using these selected guidelines. For each one I'll show some examples, and discuss the benefit of adopting them for new code or going back into old code to make a change. Beginners who find the sheer size of the language and library daunting should be able to rely on the Guidelines to help make sane choices when there are many ways to do things. Experienced C++ developers may need to leave some of their habits behind. Developers along this spectrum could benefit from seeing what the Guidelines have to offer, yet the guidelines themselves are just too big to absorb all at once. My examples will be chosen to be beginner-friendly and the focus will be on what's in it for you: faster code, less bugs, and other tangible benefits. — Kate Gregory: Gregory Consulting, Partner Kate Gregory has been using C++ since before Microsoft had a C++ compiler. She writes, mentors, codes, and leads projects, in both C++ and .NET, especially for Windows. Kate is a Microsoft Regional Director, a Visual C++ MVP, and has written over a dozen books (the most recent on C++ AMP for Microsoft Press) and speaks at conferences and user groups around the world. Kate develops courses on C++, Visual Studio, and Windows programming for Pluralsight, founded the East of Toronto .NET Users group, and is a member of adjunct faculty at Trent University in Peterborough.Website: gregcons.comTwitter handle: @gregcons — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: BashFilms.com

Why it's here

3 people recommend this

What people say. Highly recommended as an accessible introduction to the C++ Core Guidelines and modern C++ best practices.

programming-talkscurated list on GitHubRecommends

Under “C++”

10 Core Guidelines You Need to Start Using Now 01:02:32 by **Kate Gregory** (2017)

pjmlpon Hacker News • Recommends

On “Ask HN: Best way to learn modern C++?”

- 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 videos, "Stop Teaching C" - link "10 Core Guidelines You Need to Start Using Now" - link to this video "It's Complicated" - link

boltzmannbrainon Hacker News • Recommends

On “C++ Core Guidelines”

I recommend the tl;dr version from Kate Gregory at CppCon 2017, “10 Core Guidelines You Need to Start Using Now”: link to this video

pjmlpon Hacker News • Mentions

On “Carp, a compiled Lisp with type inference and a borrow checker”

…longer needed on C++17 thanks to std::byte as yet another example. The GSL asserts are there until code contracts0 get into the standard. The magical types like gsl::owner allow clang-tidy and VC++ checkers to apply a Rust-like memory tracking usage. Kate Gregory did a presentation at CppCon 2017. "10 Core Guidelines You Need to Start Using Now" link to this video As for not taking off, being initially a Microsoft proposal, it is surely used by Office and Windows teams, specially given they already use SDL (Security Definition Language) macros as well. 0 link…

wyldfireon Hacker News • Mentions

On “Catching use-after-move C++ bugs with Clang's consumed annotations”

…e to see popular C++ projects leveraging it. I'm a card-carrying RESF member† (but have a day job w/mostly C++). Don't RIIR for one thing, RIIR to get all the things. Cargo is the sleeper hit of Rust. Hygienic macros and more! 1 link 2 link 3 link 4 link 5 CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now” link to this video † Rust Evangelism Strike Force -- maybe we really should have cards…