Daniel Lemire personal blog
Avoid exception throwing in performance-sensitive code
There are various ways in software to handle error conditions. In C or Go, one returns error code. Other programming languages like C++ or Java prefer to throw exceptions. One benefit of using exceptions is that it keeps your code mostly clean since the error-handling code is often separate. It is debatable whether…
- Points
- 166
- HN comments
- 240
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2022
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 22, 2022 | Avoid exception throwing in performance-sensitive code by kristianp | 166 | 240 |