News for hackers. Stuff that matters.
Re:How can C Programs be so Reliable? by bad_user on Thursday September 22, 2011 @08:32AM (#3025821)

     That's not a feature of the language.
Well, yes, but it's kind of nice when you've got exceptions with stack traces attached.

Some people don't like exceptions, but I do.

Re:How can C Programs be so Reliable? by ajross on Thursday September 22, 2011 @12:43PM (#3026674)
It is indeed "kind of nice". But the question at hand is whether it's a requirement for writing reliable software. I tend to agree with the posts here that argue that it's not. It saves time for developers, it doesn't meaningfully improve the quality of the end product.

Serious C projects tend to come up with this stuff on their own, often with better adapted implementations than the "plain stack trace" you see in higher level environments. Check out the kernel's use of BUG/WARN for a great example of how runtime stack introspection can work in C.

Re:How can C Programs be so Reliable? by 0x12 on Thursday September 22, 2011 @10:58AM (#3026273)
gdb: where