0

What is the best language to program embeded systems and controlling machines?

14th Dec 2016, 10:41 PM
Islam alabassy
3 odpowiedzi
+ 1
C and ASM for whatever instruction set you wish to target. Good luck.
14th Dec 2016, 10:54 PM
Kerrash
Kerrash - avatar
0
c++ can't do this? ??
14th Dec 2016, 11:21 PM
Islam alabassy
0
It is not a case if C++ can do it, but rather if there is a C++ compiler available for the target processor of your embedded system. For example for systems based on RasberryPi C++ will be fine, since they run a flavour of Linux so GCC is available. On the other hand for many (most?) embedded controllers only a C compiler is available, so John Virgo's answer is correct since this is the more common case. IIRC the compiler for Arduino is a kind of hybrid C/C++, but I am not familiar with it. (Any Arduino enthusiasts that want to comment?) C is still the "lingua franca" of the embedded world.
14th Dec 2016, 11:55 PM
Ettienne Gilbert
Ettienne Gilbert - avatar