Öö Tiib <
oot...@hot.ee> wrote in
news:ee5ee416-a6f7-4e0b...@googlegroups.com:
> On Saturday, 2 May 2015 10:48:28 UTC+3, Jorgen Grahn wrote:
>> On Fri, 2015-05-01, Victor Bazarov wrote:
>> > On 5/1/2015 1:34 PM, Jorgen Grahn wrote:
Sure it is. A large portion of C++ users are relying on its zero-overhead
and maximum performance promises. And for sure, if the performance issues
are critical, the programmer needs to write the code which performs best.
This appears to be still a bit deterministic, so yes, C++ code is
somewhat in control. For example, rvalue references and std::move
specifically fixed a gap in an area which prevented achieving maximum
performance in certain high-level programming style. It is under the
control of the programmer to use or not use this style.
If C++ would at some point fail to follow the zero-overhead principle, a
porton of programmers and programs would move away to some other language
to retain the maximum performance (to Fortran or C, possibly to something
else branched off from C++ (D?)).
Cheers
Paavo