News for hackers. Stuff that matters.
Re:Why code in C anymore? by LukeShu on Tuesday February 26, 2013 @11:26PM (#5290587)
I haven't looked at the benchmark, but I'd assume that the comparison is supposed to be "idiomatic C" vs "idiomatic C++".
Re:Why code in C anymore? by adamnemecek on Wednesday February 27, 2013 @12:32AM (#5290867)
Possibly, but as they present it, it makes it seems as if there was something inherent that would make it so much slower.
Re:Why code in C anymore? by LukeShu on Monday March 04, 2013 @02:09PM (#5320026)
Well, for a long time the STL string class had poor performance. Idiomatic C++ would use the STL string class. Therefore idiomatic C++ would suffer a performance penalty.