News for hackers. Stuff that matters.
Re:C++ on Embedded Systems by fest on Monday February 20, 2017 @06:28PM (#13691954)
Agree. There is a lot to be gained from using C++ with absolutely no or imperceptible overhead.

I guess the only common embedded systems I would think twice before using C++ nowadays is 8051 and the very low end AVR/PIC (which can have as little as 32 bytes of RAM).

Re:C++ on Embedded Systems by dognotdog on Tuesday February 21, 2017 @08:36AM (#13695263)
> Agree. There is a lot to be gained from using C++ with absolutely no or imperceptible overhead.

i would agree only if there is sufficient discipline and experience on the team, management included. Spaghetti C++ can be a lot harder to untangle than spaghetti C, in my experience.

Re:C++ on Embedded Systems by hellofunk on Tuesday February 21, 2017 @11:17AM (#13696600)
But cpp is much safer than C and a lot of common bugs in C don't exist in modern cpp.
Re:C++ on Embedded Systems by pjmlp on Tuesday February 21, 2017 @01:17AM (#13693694)
Yep, Turbo C++ for MS-DOS was perfectly happy with 512 - 640 KB.