CppCon 2015: Sean Parent "Better Code: Data Structures"

Channel:CppCon · Length:1:04:00 · Published:2015-09-25 · Views:105891

Watch on YouTube

Summary

Sean Parent's CppCon 2015 talk on better use of standard containers and the goal of having no incidental data structures. It argues that proper containers can greatly simplify code.

Why HN recommends it

Commenters say it changes how you think about types and the STL, and makes a case for simple modern C++.

this one really made me aware of what just might be the best way to think about it. — HN, 2021

C, C++, Rust, Go & systems languages · Software architecture & design · Algorithms & data structures

Subtitles (excerpt)

I'm Sean Parent. I'm a principal scientist at Adobe Systems. I've been there now uh just over 20 years. Uh so I've done a lot of things there. Lately, I've been working on mobile digital imaging and uh some web- based digital imaging. It's pretty interesting work. Uh I gave a talk at the Going Native conference two years ago now uh that was entitled C++ Seasoning. How many people have seen the talk? either. Wow. Yeah. So, lots of people have seen the talk. Uh it's like a 100,000 views on the on the website now, which is pretty stunning. Uh so, it was very wellreceived and a lot of people suggested that I write a book based off that talk. So, what I've done is I've started a book and I outline the chapters and each time I get invited to go give a talk, I flesh out one of the chapters for the book. So hopefully eventually this book will get written. Uh right now we are here. Now for people who have followed any of my talks, I've done talks after this point and I've done talks before this point. I haven't given this talk. So why didn't I give the talk in the middle? Well, it's a bridge talk. Uh uh kind of ties the start of the book towards the end of the book. And I didn't think there was anything of particular interest to give in this talk.

On Hacker News

Sean Parent "Better Code: Data Structures" (2015): [VIDEO] I've been programming in C++ and using the STL for many years but this one really made me aware of what just might be the best way to think about it. — olvy0, 2021-10
If anyone is interested in Type systems and what's a type, I highly recommend watching the first 20 mins of Sean Parent's presentation: [VIDEO] It will change the way you think about types after this. — halayli, 2020-09
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… — e12e, 2016-05
Reminds me of Sean Parent's recounting[1] of how his son's beads and string toy could represent a tree data structure with stateless traversal and some other interesting properties, like: > ...to erase elements from some point in my model to some other point in my model, what I do is grab those two locations on the string, and I pick the whole thing up, and the beads that fall off are the ones th… — ttctciyf, 2019-09

Related videos