News for hackers. Stuff that matters.
Re:How can C Programs be so Reliable? by bengl3rt on Thursday September 22, 2011 @11:37AM (#3026405)
This is one of the biggest reasons Linus Torvalds refuses to re-write the Linux kernel in C++ even though he is repeatedly pushed to do so... in C++ a whole bunch of things outside the file (templates, operator overloading) can make it so that what you're looking at doesn't do what you think.

In C, what you see is what you get. :)

Re:How can C Programs be so Reliable? by burgerbrain on Thursday September 22, 2011 @06:07PM (#3028010)
For definitions of "repeatedly pushed to do so" that mean "asked on occasion by language trolls on the mailing lists who aren't even kernel devs". ;)
Re:How can C Programs be so Reliable? by tbrownaw on Thursday September 22, 2011 @03:25PM (#3027406)

    #define int double
Re:How can C Programs be so Reliable? by 0x12 on Thursday September 22, 2011 @04:34PM (#3027677)
There is a special place in hell for you.

Had me laughing though :)

Re:How can C Programs be so Reliable? by exDM69 on Friday September 23, 2011 @07:23AM (#3029597)
Remember that if you want to use C++ in kernel development, you'll only get a small subset of C++ because there's no runtime system to rely on. Exceptions are one example of this.

Without exceptions, the advantages of C++ are not that great compared to the hassle it needs to get running in kernel mode like dealing with name mangling, static/global constructors, etc and hassling with compilers.