Hello All,
So far, I have been writing code for ARM Cortex M7 (STM32F7691) using C language. But I am planning to write more structured, OOPS style coding for my next application. And so, I am thinking about using C++ instead of C. Please let me know the following,
1. What will be the performance difference and also the final code size (excluding the programmer's skills )?
2. Does arm cortex m7 has good c++ compiler?
3. Specifically, Does OOPS methodology causes performance overheads?
Thank you.
One cannot answer such question in general. There are surely some traps with C++, but in the end it all depends on you. You can write good performing code in C++ and horrible slow code in C.