::errno and ned14's system_code go brrrrrrr
from lambalicious@lemmy.sdf.org to cpp@programming.dev on 13 Sep 2025 16:07
https://lemmy.sdf.org/post/42198444

I’ve always found C++'s “trend” of handling normal or non-exceptional system errors with exceptions lackluster (and I’m being charitable). Overall trimming things down to (basically) passing around a couple integers and telling the user to check their manual is much better, much less error prone, and much more efficient and deterministic.

#cpp

threaded - newest