News for hackers. Stuff that matters.
Re:Emulating exceptions in C: a case study by tiagobraw on Thursday August 27, 2015 @09:22AM (#10129164)
Well, Lua coroutines uses longjmp and they're not "fairly simple" in any way.

I don't think it is a circular reasoning. There's always the good and the bad way to use something, even C++ exceptions.

Re:Emulating exceptions in C: a case study by humanrebar on Thursday August 27, 2015 @09:52AM (#10129341)
If "done properly" implies "works ok", then it's circular reasoning.

I'm not sure your example is a counterexample either. Implementing part of a fairly simple runtime (like Lua's) using longjmp is an example of a good use of longjmp, in my opinion.