Re:The Unreasonable Effectiveness of C
by dakimov on Thursday January 10, 2013 @01:41PM
(#5038835)
I have done low-level and mobile programming on very restricted platforms and I cannot see any reason why in the world I would use C instead of C++. Basically there is always an opportunity to use C++ if you can use C. Myths that C++ is slower are spread by people who just do not know C++ well or are not skilled/clever enough to use it.
[ Parent
| on HN ]
Indeed. And there are numerous reasons why C++ code can be/is significantly faster; firstly code inlining for code that would be required to use function pointers in C (ala qsort vs std::sort), secondly, things such as expression templates for things such as Matrix libraries.
Re:The Unreasonable Effectiveness of C
by jasonzemos on Thursday January 10, 2013 @02:26PM
(#5039142)
Bravo. I had to read 15 minutes worth of comments to finally find one person who actually knows the truth. And this little gem was downvoted. Bravo.