C++ code which is slower than its C equivalent?
Posted
by
user997112
on Stack Overflow
See other posts from Stack Overflow
or by user997112
Published on 2012-09-11T21:26:05Z
Indexed on
2012/09/11
21:38 UTC
Read the original article
Hit count: 193
Are there any aspects to the C++ programming language where the code is known to be slower than the equivalent C language? Obviously this would be excluding the OO features like virtual functions and vtable features etc.
I am wondering whether, when you are programming in a latency-critical area (and you aren't worried about OO features) whether you could stick with basic C++ or would C be better?
© Stack Overflow or respective owner