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

SubmittedTitle on HNPointsComments
Dec 22, 2022Avoid exception throwing in performance-sensitive code by kristianp166240

More from Daniel Lemire

All 87 posts →

Related posts from the same era