3 ms·
I think he's arguing that C++ exceptions are unsuitable for parallel data processing, at least in cases where exceptions are regularly thrown.
by jandrese 5y ago
I think he's arguing that C++ exceptions are unsuitable for parallel data processing, at least in cases where exceptions are regularly thrown.
- gpderetta 5y agoWell of course, they are slow so they are unsuitable. The issue is whether they need to be slow.
- ncmncm 5y agoThere is the red flag: "regularly thrown". "Regularly" is opposite to "exceptionally".
- jcelerier 5y agoIf 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.