Re:Should C Programmers Learn C++, Go or Rust? (2018)
by dabitude on Thursday May 09, 2019 @01:24PM
(#19870201)
You don't need a benchmark. Given any C code, you can make a C++ code that runs as fast (just use the same code). This proves that C++ is at least as fast as C.
From there, maybe you could use C++ features to improve the speed (and then C++ is faster) or you could not (and then they have the same speed).
From there, maybe you could use C++ features to improve the speed (and then C++ is faster) or you could not (and then they have the same speed).