4 ms·
Embedded is about 20 years behind the curve with regards to C++ best practices.
by aidenn0 11y ago
Embedded is about 20 years behind the curve with regards to C++ best practices.
- magila 11y agoWorked for 6 years writing embedded C++, can confirm. The industry is dominated by stodgy old devs who still think C++ means C with classes.
- aidenn0 11y agoWell a lot of late '90s non-embedded C++ style was a very poor fit for embedded; everything dynamically allocated, lots of templates.
- ArkyBeagle 11y agoIt wasn't that bad.
- okatsu 11y agoC with classes is often frowned upon but I'm actually okay with it. It keeps things simple while still allowing for a few benefits. I think the Mars Rover project is a good example of that.
- ArkyBeagle 11y agoTo an extent. Some of it is less behind. This is part of the problem - it's a moving target. I've had things in the field with lifetimes of decades. That changes the incentives. But in general "big C++ in embedded" kind of went out with the dotcom crash.