2 ms·
> C++ offers significant benefits over C in the embedded space and its been impossible to gain traction. Wasn't it Arduino that tried to establish C++? I could
by raxxorrax 5y ago
> C++ offers significant benefits over C in the embedded space and its been impossible to gain traction.
Wasn't it Arduino that tried to establish C++? I could never see the advantages to be honest, but I didn't really use too much C++.
Header files mainly provide semantic descriptors to otherwise pretty hard to memorize memory addresses. A format like SVD would provide the main benefit for other languages though. Even non-ARM-processor manufacturers use it.
I believe many embedded devs long for "high tech features" like unit tests, which of course would require some form of formal simulators and peripherals. That problem goes far beyond the choice of language though.
Validation is an extremely hard thing to do for embedded system outside of a specialized laboratory. Memory safety is almost laughingly trivial compared to that.