I seriously question how committed C++ is to zero-cost abstractions when they designed and standardized an entire standard library that assumes you’re using exceptions and doesn’t really work well without them.
-
-
https://www.youtube.com/watch?v=ARYP83yNAWk … mention that noexcept does not work and how to change exceptions to make them zero-cost.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Is it totally different from Rust's approach?
-
Yes, in Rust error handling ist just done with types (mostly the Result enum) which gets returned, so no overhead, or you panic and the thread crashes but it is not (easily) recoverable or at least not intended for standard error handling.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.