Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Per Westermark
06/19/12 05:13
Read: 582 times
Sweden


 
#187789 - Using tools that only supports C?
Responding to: Oliver Sedlacek's previous message
Oliver Sedlacek said:
I've done a few (16 bit) embedded systems and coded them in C++. The executables came in at 80kB to 250kB, but that included embedded FPGA configurations.

I like C++, but I'm now doing mostly straight C on 32 bit processors. This is mostly because we've found it easier to verify correctness in straight C.


Straight logic is normally easier to verify than twisted logic ;)

Are you using support tools that does support C, but not C++, so they can't scan and analyze your code if you use C++?

For a human, it shouldn't be harder to verify correctness in C++ than in C, as long as the C++ code doesn't make use of obfuscating constructs.

List of 16 messages in thread
TopicAuthorDate
Who the hell uses C++ in embedded systems...      Jez Smith      06/18/12 06:58      
   So?      Per Westermark      06/18/12 08:08      
   beware of (verbal) inflation.      Erik Malund      06/18/12 10:17      
   Not as many as some would think.      Neil Kurzman      06/18/12 11:43      
      2% don't know      Jez Smith      06/18/12 13:00      
         Same same      Per Westermark      06/18/12 13:46      
         Surveys      Andy Neil      06/18/12 14:26      
   Me!      Oliver Sedlacek      06/19/12 04:30      
      Using tools that only supports C?      Per Westermark      06/19/12 05:13      
         Tools and MISRA      Oliver Sedlacek      06/19/12 06:22      
   C++ "better than C" for embedded systems      Oliver Sedlacek      07/11/12 20:48      
      as far as the '51 goes      Erik Malund      07/12/12 01:16      
         As far as '51 goes - C++ is still viable      Per Westermark      07/12/12 02:05      
            class vs source      Andy Peters      07/12/12 03:51      
         I did say "smallish"      Oliver Sedlacek      07/12/12 08:11      
            Overkill?      Per Westermark      07/12/12 19:01      

Back to Subject List