News for hackers. Stuff that matters.
Re:Investigating the Performance Overhead of C++ Exceptions by gpderetta on Wednesday February 12, 2020 @11:53AM (#22310405)
oh, yes. As far as I can tell, these static exceptions are basically syntactic sugar over an either<T, Except> return type, possibly with a custom ABI that stores the discriminant implicitly in a flag register (so on the call side you do not even need to load the discriminant and compare it and instead directly do a JMPcc ).

There are no comments on this comment yet.