|
|
|
|
|
by balp
2769 days ago
|
|
Going out on the C++ support side, embedded have to bad C++ support, for many bad reasons. People tend to think C++ have much higher runtime needs that C, but used right it's usually lower, specially if you use C++-11 or even C++14. There compilers can make smart stuff that allows you to do much more in compile time and gains much in runtime. There is a few nice talks about this at CppCon including Michel Caisse. Imho the main reason is that embedded hardware chip vendors have two goals that kinda makes only supporting old C, e.g. pre c99 viable. 1) They get money on there own, or a partners toolchain, that isn't evolving as alternatives, keeping up with standards are hard. 2) They optimize the time for code to first boot time. The demo factor, not how the products work in CI/CD chain, the preformance of the code on the final product. How easy it is to get started in the sales meeting is more important. |
|