News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by tokumei on Tuesday February 22, 2022 @06:34PM (#30435395)
I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.
Re:Current hardware trends make C++ exceptions harder to jus... by gumby on Tuesday February 22, 2022 @07:13PM (#30435763)
The article shows that this approach adds to runtime even in the non-erring case.