HackerTubewatch
Surprise me
Frame from CppCon 2015: Sean Parent "Better Code: Data Structures" Plays via YouTube's privacy-enhanced embed

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

48 videos recommended on HN
YouTube
3 HN users recommended this talk3 months2016–2021 score 4
Years with an HN recommendation, 2007–2026

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

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.

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

2 strong recommendations · 1 recommendations · 1 citations · Talks · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@halayli Sep 2020 Strongly recommends
on HN thread Type Systems Explained with Examples
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: [this video] It will change the way you think about types after this.
First 20 minutes change how you think about types
@e12e May 2016 Recommends
on HN thread Why I don't spend time with Modern C++ anymore
Read more
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": [link] Is also rather uplifting, and: CppCon 2015: Sean Parent "Better Code: Data Structures": [this video] 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
Case for simple, modern C++ being clear and efficient

Citations, criticism and jokes

@ttctciyf Sep 2019 Cites it
on HN thread Tree traversal without recursion: the tree as a state machine (2007)
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 that get erased ... (48:41) 1: [this video]
Beads-and-string toy as a tree data structure

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close