News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by michaelnik on Tuesday February 22, 2022 @06:32PM (#30435374)
I'd add a (major) inconvenience is problem investigation, often exceptions point you to root cause and all you need it to break on the first exception (think after running big codebase, for an 1h just to get where problem is), but if they are thrown willy-nilly this debugging strategy is MUCH less convenient...
Re:Current hardware trends make C++ exceptions harder to jus... by jcelerier on Wednesday February 23, 2022 @11:38AM (#30442930)
yep, it's great to just `catch throw` in gdb, launch tests, and things will stop exactly when the error happens