Re:Why should I have written ZeroMQ in C, not C++ (2012)
by jcelerier on Thursday December 13, 2018 @03:03AM
(#18670625)
Well no, every time you have a chain of functions in your call stack that all do
(which is veeeery common in C) you are reimplementing exceptions by hand (and with less performance in the no-error case since you still pay for the branches, while a C++ code with exceptions would just be a sequence of function calls without branches in that case)
[ Parent
| on HN ]
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by speedplane on Friday December 14, 2018 @02:34AM
(#18679147)
I wouldn't disagree with you. The OP said that programming languages w/o exceptions aren't successful. C doesn't use exceptions, it has it's own way of dealing with similar issues, and yet it's quite successful.