HackerTube

CppCon 2015: Herb Sutter "Writing Good C++14... By Default"

CppCon4 HN recommenders · recommended in 5 months, 2015–2018
YouTube
talk · intermediate · 2015–2018 on HN

Herb Sutter's CppCon 2015 plenary on writing safe, modern C++ by default using the C++ Core Guidelines. It includes a demo of lifetime-checking static analysis tooling.

HN cites it in C++ versus Rust safety debates for its lifetime profile demo, and recommends it as a modern C++ talk.

12 comments from Hacker News

@pjmlp2018-03 · in “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" - ▶ this video "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 "It's Complicated" - link

Recommends View on HN
@e12e2016-05 · in “Why I don't spend time with Modern C++ anymore”

I've been spending a few days going through talks from last years cppcon[1]. They're all good, but they've all left me with a strong desire for a strongly opinionated, there-is-no-past-only-the-future introduction to C++14 (and incidentally, C11). I've added a few of those talks I've watched and liked to a small playlist (with a couple of other talks on programming, unrelated - the relevant talks are prefixed with "cppcon 2015"): link The full cppcon playlist is here: link Of special relevance is the rather excellent talk by Kate Gregory on "Stop Teaching C" (when you're supposed to do an intro course to C++): "CppCon 2015: Kate Gregory “Stop Teaching C"": link (But again, I want an open wiki/live tutorial, along the lines of "How I start", but longer, which goes through all this stuff. We really should make one, both for C++14 and for C11). CppCon 2015: Herb Sutter "Writing Good C++14... By Default": ▶ this video Is also rather uplifting, and: CppCon 2015: Sean Parent "Better Code: Data Structures": link makes a pretty good case for simple, modern C++ being clear, easy and efficient. Finally, CppCon 2015: Phil Nash “Test Driven C++ with Catch”: link apart for being a pretty straight forward intro to a simple testing framework, appears to reveal some secrets combining template magic and still get sane compile times (hint: don't recompile more (template) code on every iteration than you need to). There's a couple of good ones that touch on meta-programming too (Look for t

Recommends View on HN
@jbandela12015-12 · in “Ask HN: C, C++, or Rust which language to learn next?”

Take a look at Herb Sutter's talk from CppCon 2015. The slides are here ( link ) and the video is here ▶ this video . Microsoft will be releasing the static analysis tool as a free cross-platform tool (and I think open-source IIRC). They shipped a preview for Visual Studio 2015 with Update 1, and are planning on shipping a cross-platform version soon. As tools like this become free and ubiquitous, it will greatly improve C++ code safety.

Recommends View on HN
@jbandela12015-11 · in “Rust Lifetimes”

At this year's CppCon Herb Sutter the chair of the ISO C++ committee addressed just this issue of lifetime safety. Here is a video of his talk and includes a demo of the upcoming static analysis tool that can do this with very minimal annotations ▶ this video I remember thinking when watching the talk that this was a very bad day for Rust as C++ could now do most of what Rust was promising

Recommends View on HN
@something1232015-09 · in “When Rust Makes Sense, or The State of Typed Languages”

We should be seeing completely safe C++ code soon. Take a look at Herb Sutter's CppCon talk this year: ▶ this video Reinventing the wheel isn't entirely necessary. Though if you're a SysAdmin and you write your codebase in Rust.. that's some nice job security. ;)

Recommends View on HN