r/cpp • • Oct 05 '26

Measuring the Performance of Deterministic Exceptions

https://databasearchitects.blogspot.com/2026/09/measuring-performance-of-deterministic.html
47 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/UndefinedDefined Oct 22 '26

Your alternative universe doesn't matter - we live in this one, and throwing is costly, which means you want to avoid it, which means that out of sudden you always need 2 error reporting mechanisms. I would rather not use exceptions than have to deal with both expectable errors and exceptions.