News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by kllrnohj on Friday August 18, 2023 @04:52PM (#37181945)
Exceptions cost performance when thrown whereas return values always cost performance.

If all you care about is outright performance, having the option for exceptions is easily the superior choice. The binary does get bigger but those are cold pages so who cares (since exceptions are exceptional, right?)

There are no comments on this comment yet.