Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

C++: The Documentary (https://herbsutter.com)

355 points by ingve about 18 hours ago | 266 comments | View on ycombinator

mirmor23 about 10 hours ago |

Ken Thompson's criticism of C++ as incoherent, complex and garbage heap of ideas still resonates with me; C++98 was the last version I used for work although I've dabbled in 11/17/20 out of curiosity.

IMO, if c++/cfront didn't ride on the tails of c, I'm skeptical it would've seen widespread use, but then, that's its main identity which limited it in ways that C++ was not willing to change; It is highly irritating to spend as much time to sanitize the implementation with Coverity/Valgrind and the ilk when the compiler could've handled it.

With C++98, Bjarne's book on c++ internals could've give you good insight into what went on, but later it turned into a whole cottage industry of "effective, more effective, proficient, performant, c++" series of books -- so kiss goodbye to any notion of being able comprehend existing code that's not written by you (until llms arrived). I'm happy to have spent time to learn problem domain instead.

I'll still watch the documentary since it has some of my favorite folks (Kernighan, Stepanov).

bdamm about 16 hours ago |

Since I've been working in C++ a lot recently I decided to watch the video as I waited for a build to complete. So the length is about right. And fortunately, the video is a delight!

tenderfault about 14 hours ago |

So happy to see Andrei Alexandrescu was included in this documentary. His book on modern C++ design was a mind opener at the time I read it. Maybe still is today. Anybody else read it?

GodelNumbering about 13 hours ago |

Personal opinion: C++ is the most elegant language I have used (for about 15 years). If you are the 'systemizer' type and like to have an extremely precise mental model of the thing you write down to the last bit, nothing beats C++. I acknowledge the limitations and uncertainties that come from compilers etc, but still

jviotti about 1 hour ago |

Time to stop hacking on my C++ codebase (https://github.com/sourcemeta) to watch this over dinner!

jdw64 about 15 hours ago |

It's surprising that C++'s development trend continues.

When a game or program is made with C++, it's usually nice because performance is mostly guaranteed. But if someone told me to write C++ myself, I'd cry. There's too much to memorize, and the standards are too varied. When I go to a project site for maintenance and it's a C++ project, I instantly lose energy — because it's just too difficult.

I'd be happy if someone else wrote it, but it's not a language I want to write myself

TonyAlicea10 about 12 hours ago |

I always tell web developers I teach that the language of the internet isn’t JavaScript it’s C++.

Web devs are just users playing in a C++ dev’s program. ;)

socalgal2 about 6 hours ago |

C++ needs to die. I get so many people are invested in it and so much code is written in it. I used to be a fan and it's still my main job. But, in 2026 with LLMs able to find all the exploits, and with more and more adversarials, we need a language that is opt-out of safety, not C++ which is opt-in + super vigilance to get safety. It doesn't work and decades of experience proves it.

neals about 12 hours ago |

I love a free documentary about something that I'm passionate about. So many thanks.

However, I'm a my own kind of weird. I cannot watch a documentary that's made out of people saying short sentences. I get that it's made to 'have them tell the story', but I need a narrator to tell me what to think because I get distracted.

Still lots of love to the creators, of course.

garyrob about 6 hours ago |

For what it's worth:

I had an idea for a special reminder app I wanted for myself. It's complicated enough that it comes to 9,000+ lines of code. I wanted to write it using the C++ UI library wxWidgets, because I like that wxWidgets uses native widgets, and is cross-platform, and that it's easy to make an app look nice. And that it doesn't use tons of memory.

There's a wxPython library, but I didn't want my UI to be limited due to whatever gaps may exist in that wrapper.

So I had AI write it in C++. Took about a day for me to get it done. It's perfectly solid. It did hit a couple of memory errors when I first used it, but I could give the AI MacOS crash report and the AI fixed the bugs easily, with no other involvement from me. (I compiled in a debug-friendly mode; no downside to that because it was just for me and was plenty fast enough.)

25 years or so ago, I was a fairly good C++ programmer. Haven't touched it since. And that includes this application, which was completely AI-written.

Tomte about 15 hours ago |

I‘m out of the loop: we‘ve had Python, Clojure and possibly something else recently. Is that a series by the same people working through several languages? Is it happenstance? Is it a trend, and every programming language is now scrambling to get their own video documentary?

coffeeaddict1 about 4 hours ago |

An interesting opinion on this by Chandler Carruth: https://hachyderm.io/@chandlerc/116694268329657881.

orsenthil about 8 hours ago |

I haven't watched this yet. With all due respect, why John Romero instead of John Carmack for a C++ documentary ?

i_am_a_peasant about 14 hours ago |

My only problem with C++ is that it’s too verbose. my eyes need to parse huuge chunks of things when I just want some convenient syntax for it. otherwise the idioms are pretty universal for most programming languages nowadays.

melenaboija about 8 hours ago |

I obviously don’t know them personally, but what I get from this old school generation that have been a pillar of computer science and, why not, modern human history, is just a tiny little bit more humbleness than “influential” people nowadays.

swader999 about 11 hours ago |

I'm going to rent the local cinema and invite all my normal friends and family for this. About time they watch something decent.

ElenaDaibunny about 14 hours ago |

wild that c++ is apparently the fastest growing top 4 language right now

grugdev42 about 15 hours ago |

Thank you for releasing this for free! :)

undefined about 14 hours ago |

undefined

claiir about 16 hours ago |

> currently (as of Q3 2025) the fastest-growing of the top four languages in the world… +90% users in the past 3.5 years.

Because of AI, right?

undefined about 16 hours ago |

undefined

infoinlet about 14 hours ago |

What a lineup of contributors—Stroustrup, Stepanov, Kernighan, Lattner, and more in one film. Forty years from 'C with Classes' to the fastest-growing of the top four languages is a remarkable arc, and it's nice to see the people behind it get their due. Adding this to the weekend watchlist. Thanks for sharing, Herb!

timedude about 6 hours ago |

With great power comes great responsibility and blown off legs.

witx about 7 hours ago |

Did it crash midway?

undefined about 8 hours ago |

undefined

keyle about 15 hours ago |

         +90% users in the past 3.5 years
huh? That is incredible growth. How is it even measured?

gizajob about 15 hours ago |

Is it better than the Erlang documentary?

serhii1992 about 12 hours ago |

Good, thank you!

nitotm about 7 hours ago |

Pretty good.

jalospinoso about 2 hours ago |

[flagged]

Serhii-Set about 14 hours ago |

[dead]

Lapsa about 13 hours ago |

[dead]

sylware about 8 hours ago |

[dead]

jheriko about 5 hours ago |

[dead]

scott01 about 16 hours ago |

[flagged]