You are on page 1of 1

What is the best language to learn for programming robots?

The most common languages that robots are programmed in is C, C++, Java, BASIC, Python, XML, Lisp, and Assembly. In most languages, the concepts are exactly the same, its the syntax that is different. If you learn one of the basic languages, swapping to a different language will not be so hard. The programming language you need to use is determined by the compilers available for the hardware you wish to use. For example, if you want to program your robot in Java for a microcontroller, you need a compiler that converts Java to machine code specifically for that EXACT microcontroller. The most useful language, and the one I recommend for programming microcontrollers, is C. C can be considered the default robot language, and should be the one you learn to use. All source code I publish on this site will be in C.

You might also like