News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by jandrese on Tuesday February 22, 2022 @03:03PM (#30432933)
I think he's arguing that C++ exceptions are unsuitable for parallel data processing, at least in cases where exceptions are regularly thrown.
Re:Current hardware trends make C++ exceptions harder to jus... by jcelerier on Tuesday February 22, 2022 @04:33PM (#30434154)
If exceptions are regularly thrown the software has a bad design and must be fixed. Non-exceptional stuff must of course not be handled through exceptions - no exception should ever be thrown if the software operates as it is expected to.
Re:Current hardware trends make C++ exceptions harder to jus... by ncmncm on Tuesday February 22, 2022 @03:52PM (#30433589)
There is the red flag: "regularly thrown". "Regularly" is opposite to "exceptionally".
Re:Current hardware trends make C++ exceptions harder to jus... by gpderetta on Tuesday February 22, 2022 @03:44PM (#30433481)
Well of course, they are slow so they are unsuitable. The issue is whether they need to be slow.