Russell: GCC and C vs C++ Speed, Measured
Posted Mar 23, 2013 9:13 UTC (Sat) by
khim (subscriber, #9252)
In reply to:
Russell: GCC and C vs C++ Speed, Measured by mveinot
Parent article:
Russell: GCC and C vs C++ Speed, Measured
There are small, subtle, differences. Perhaps the most well-known is the fact that “sizeof 'a'” has size 4 in C, but 1 in C++. This is not big deal since automatic type conversion gives you the same result in the end, but it can easily affect heuristics which will mean that code produced will be equivalent yet different.
(
Log in to post comments)