I've ported some code from C to C++ and I'm shocked at how much more slowly it runs. I've written a lot of C++ in the past, so I know I haven't done anything absurdly inefficient, but execution times have gone up by 150% (2.5 times slower!). Has anyone else seen anything like this? Are there any particular aspects of the Keil C++ implementation that I should look out for?
If you "port" by rewriting the code, then you have to understand C++, and you have to understand the consequences of the features you ask for
My post was with the thought in the background "why use ++ if you do not want to use the features"
Erik