News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by kllrnohj on Monday February 28, 2022 @05:24PM (#30505998)
> I'd rather have 5% slower code, than 5% faster code with occasional 1000% slow downs (in the worst case).

Perhaps, but that's a strawman through & through. C++ exceptions don't have that performance cliff when thrown, per both the paper in the OP & in your link. They are fairly cheap to throw assuming a single-threaded application.

That is, the fib example with 10% failure rate has the same performance using exceptions & using Boost::LEAF.

Unless you're calling it "unfixable" because there isn't actually anything to fix in the first place...

There are no comments on this comment yet.