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++.
深掘り
前提条件
- データがありません。
次のステップ
- データがありません。
深掘り
exceptions in C++追加:
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.
関連おすすめ
resume fixed instantly 😭 Comment “app”andI’ll sendyou the link #parakeetaipartnership #resumetips
Ritcareer
686 views•2026-05-31
3D Basics in C
HirschDaniel
2K views•2026-06-05
Re: 🗣️📍theprophedu📍2026 GST 103 CLASS (E-EXAM REVISION)
theprophedu
636 views•2026-06-04
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
Making Minecraft Clone with C++ & Raylib
PecaCSLive
686 views•2026-06-04
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Instagram accounts got PWNed
EricParker
13K views•2026-06-03
So What's Odin Lang Even Good For
TechOverTea
131 views•2026-06-01











