Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jandrese
on Feb 22, 2022
|
parent
|
context
|
favorite
| on:
Current hardware trends make C++ exceptions harder...
I think he's arguing that C++ exceptions are unsuitable for parallel data processing, at least in cases where exceptions are regularly thrown.
jcelerier
on Feb 22, 2022
|
next
[–]
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.
ncmncm
on Feb 22, 2022
|
prev
|
next
[–]
There is the red flag: "regularly thrown". "Regularly" is opposite to "exceptionally".
gpderetta
on Feb 22, 2022
|
prev
[–]
Well of course, they are slow so they are unsuitable. The issue is whether they need to be slow.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: