De-fragmenting C++: Making Exceptions and RTTI More Affordable and Usable - Herb Sutter CppCon 2019
Channel:CppCon · Length:1:33:12 · Published:2019-09-23 · Views:89697
Summary
Herb Sutter's CppCon 2019 talk on the split in the C++ community over exceptions and RTTI. He proposes making exceptions cheaper and more usable, including a zero-overhead, Result-like design.
Why HN recommends it
Pointed to whenever C++ exception overhead, bans on exceptions or error-handling alternatives come up.
I can really recommend this talk — HN, 2020
Programming language design · C, C++, Rust, Go & systems languages
Subtitles (excerpt)
so now I'm going to introduce someone who again as most of our keynote speakers and he's little introduction but it really cannot be overstated how much herb does for C++ not just all of his work on the standards committee all the wonderful papers he writes the contributions he gives to various other projects also all the work he does to this conference all the work he does for this community making a better place to be so please join me in giving a very warm welcome to herb Sutter thank you well thank you for that warm welcome thank you for that introduction and thank you all for being here this week and here we are Friday just about evening and I hope you enjoyed the week I certainly enjoyed so many of the talks and the panels the breath and and differences in people that we could enjoy no matter what sector we're in what way we use C++ where we live in the world or anything else that we have a lot in common here so if you enjoyed some talk sometime this week possibly multiple in the same timeslot where you're going to get the next one YouTube please join me in thanking all the speakers all the volunteers and everyone who made this conference possible it's such a delight so thank you very much for that let's talk for a moment about
On Hacker News
> I don't have enough time to watch these kinds of presentations. Then let me pick and share some of my favorites that I found enlightening, and summarize with some information that I found useful. By far, the most useful one is Khalil Estell's presentation last year [0]. It's a fairly face paced but relatively deep dive into exception mechanics. At the end, he advocates for a new tool that would… — inetknght, 2025-09
Wow: C++ > Garbage collection was never added into C++. Manual memory management is extremely error prone. C++ has memory management simplification: reference couting via shared_ptr/unique_ptr. The trade-offs are different, but in C++ manually managing memory is not necessary unless you have a good reason. > C++ is notorious for its slow compilation time. Significantly slower than Java, not as ba… — je42, 2020-12
If you want to see Herb Sutter's take on exceptions (and RTTI), I can really recommend this talk where he explores his Result-esque (like in Rust) solution that he wrote a paper about and proposes for standardisation: [VIDEO] — Felk, 2020-02
Quite an improvement. However, i feel like that the tweet also displays the (sometimes emotional) feelings toward exceptions that a large part of the C++ community has. Herb Sutter made an excellent presentation about this "fragmentation" of the community and steps towards fixing this split: [VIDEO] — je42, 2020-01
Does anyone know what happened with Herb's idea for zero-overhead exceptions? I remember liking the idea when he presented it at CppCon ( [VIDEO] ). — blux, 2023-06
Related videos
- "Turning the database inside out with Apache Samza" by Martin Kleppmann · Strange Loop Conference · 47:42
- Inside Africa's Food Forest Mega-Project · Andrew Millison · 14:10
- CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?” · CppCon · 1:14:22
- CppCon 2017: Chandler Carruth “Going Nowhere Faster” · CppCon · 1:00:57
- Amazon Sells Fake Electrical Fuses · Louis Rossmann · 31:04
- Jared Mauch - Getting Fiber To My Town (NLNOG Live! September 2020) · NLNOG · 34:42
- The essence of calculus · 3Blue1Brown · 17:04
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” · CppCon · 1:19:52
- C++ Exceptions for Smaller Firmware - Khalil Estell - CppCon 2024 · CppCon · 1:24:36
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Conway's Game Of Life in APL · Dyalog · 7:47
- Lecture 1A | MIT 6.001 Structure and Interpretation, 1986 · MIT OpenCourseWare · 1:12:55