The video provides a pragmatic defense of exceptions, though labeling runtime overhead as "generally acceptable" feels like a convenient academic hand-wave for non-deterministic latency. It is a sophisticated attempt to balance architectural purity with the messy performance realities of C++.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
exceptions in C++Added:
Exceptions are people feel what they don't understand, right? And people don't understand exceptions. Um, like, um, modern architecture, I guess, or most most operating systems or platforms that you're using them on, they are basically free to not throw, but expensive to throw.
Um, at which point you are probably on the unhappy path anyway. So, the extra, uh, runtime overhead, I would say, is generally irrelevant to the uh, simplicity that you'll get in the code. That being said, like, if you are in, like, a hot loop somewhere, then they may not be suitable. Everything, you know, be pragmatic about everything. But, if you're in a hot loop, you're probably making other concessions anyway. You're probably not using malloc. You're probably doing other things. So, yeah, that that code, that highly optimized hot loop, might look different to the rest of your code anyway. However, as a way of decoupling the code that produces the error from the code that handles the error, I think exceptions are the correct choice.
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 views•2026-05-28
How agent o11y differs from traditional o11y — Phil Hetzel, Braintrust
aiDotEngineer
450 views•2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29
🚀 BCS613C Compiler Design | Module 1 to 5 Schema Evaluation 🔥 | VTU 6th Sem 💯 #VTU #bcs613c #exam
Pranavaa-y4y
104 views•2026-06-02











