News for hackers. Stuff that matters.
Re:Where Everything Went Wrong: Error Handling and Error Mes... by skinkestek on Friday February 19, 2021 @05:31AM (#26191544)
> the compiler struggles to optimize them,

Nitpick: I'd say if you need the compiler to optimize exception handling you are using them wrong.

Exceptions are for exceptional circumstances.

(if you mean that exceptions mess up optimization of surrounding code that could be a bigger deal but I won't accept that without pointers to benchmarks$

Re:Where Everything Went Wrong: Error Handling and Error Mes... by mhh__ on Saturday February 20, 2021 @01:11AM (#26202055)
Exceptions force a less efficient ABI, for example - take a look at unique_ptr, it should be in a register but it's not.