4 ms·
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 be
by fest 10y ago
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).
- pjmlp 10y agoYep, Turbo C++ for MS-DOS was perfectly happy with 512 - 640 KB.
- dognotdog 10y ago> 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.
- hellofunk 10y agoBut cpp is much safer than C and a lot of common bugs in C don't exist in modern cpp.