News for hackers. Stuff that matters.
Re:Poll: Do you know C? by greyman on Thursday April 07, 2011 @10:00AM (#2419468)
What would be the advantage of doing that?
Re:Poll: Do you know C? by bediger on Thursday April 07, 2011 @10:06AM (#2419482)
No exceptions to deal with: http://ptgmedia.pearsoncmg.com/images/020163371x/supplements...

That's probably a really big one in terms of reliability.

Also, the weird C++ behavior of calling copy constructors in the most unexpected places can have a very detrimental effect on performance.

Personally, I think the nature of C++ class definition leads people down the primrose path of trying to provide all potentially useful methods, of which only a tiny fraction get used. Tons of dead code appears in most C++ projects.

Re:Poll: Do you know C? by dfox on Thursday April 07, 2011 @10:08AM (#2419490)
Faster compilation, more flexibility, less dependencies in code base (you don't have to define struct fields in headers), no problems with incompatible ABI, interface that can be directly called from almost any other programing language...