News for hackers. Stuff that matters.
Re:Generics in C without void* or macros – enabled by psychec by klingonopera on Monday September 09, 2019 @12:08PM (#20919433)
Regarding error handling, I agree with this author[0], and find the C-based approach much better than C++'s try/throw/catch methods.

Regarding execution times, I don't know from first-hand experience, I did some research and found this[1]. The third sentence in that reply ("The error code is not sensitive to the percentage of occurrence") is AFAIK wrong (because of speculative execution, I believe?), but the rest seems quite solid.

[0]: http://250bpm.com/blog:4

[1]: https://stackoverflow.com/a/52513707

There are no comments on this comment yet.