News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by IshKebab on Tuesday February 22, 2022 @03:39PM (#30433411)
Probably not that rare to use exceptions but I imagine it is very rare to use exceptions for normal flow control - that is, to continue execution after an exception. It's a common pattern in Python but not C++.

I've done it exactly once and I ended up removing it because it makes debugging exceptions that you care about really annoying.

Re:Current hardware trends make C++ exceptions harder to jus... by jolmg on Tuesday February 22, 2022 @04:07PM (#30433803)
> but I imagine it is very rare to use exceptions for normal flow control - that is, to continue execution after an exception

Exceptions are at least a very central part of the normal flow control of parser combinator libraries.