News for hackers. Stuff that matters.
Re:Investigating the Performance Overhead of C++ Exceptions by hoseja on Wednesday February 12, 2020 @03:12AM (#22306899)
You could also have just tried to allocate 42 terabytes of memory and have a well defined strategy for what to do in case this fails...
Re:Investigating the Performance Overhead of C++ Exceptions by daemin on Wednesday February 12, 2020 @06:09AM (#22307837)
Yeah, but in that case you would use your own allocator fit for this purpose and not just new or malloc.