+ 1
What is the best programming language for designing an embedded systems ?
2 Réponses
+ 5
The reason why C is preferred/popular language is very much directly related to rapid compiler design. C has a very concise grammar. This makes compiler writing and optimisation faster and easier. This makes most of hardware vendors always provide C compiler along with the hardware.
Imagine writing a Python/C++/Java compiler for small FRDM microcontroller or special hardware in 2 months. Although its possible but the cost of it is a lot compared to C. Hence hardware vendors prefer C. Apart from C++ for most of the other languages you will anyways have to build a C compiler first. So why spend software cycles by building a compiler for another language unless you have very large demanding buyer market.
So essentially it can be any language for which you have compiler available which in todays world is mostly C. You can decide to build your own compiler for your favourite language but there has to be compelling reason do so.
0
thank you very much