Hello gogo2520. I have read that microcontrollers can be programmed in C with compilers adapted for certain microcontrollers. Doesn't that make it easier to create larger and almost as efficient microcontroller programs. I know of other languages that can be used, but they would not be as efficient for programing a microcontroller.
Depends on the compiler. take High Tecks C compiler used on microchips. You can get a free trial version to try it out but it is not totaly optimizes like the program you buy, so the program you write and compile with the free version is biger(more lines of code) then the optimized version.
second, the problem with using different C compilers not written for the microcontroller you have is the header files are missing and they just can't be copy and placed in a library because the compiler wouldn't know how to use them.
most of the programs written for microchips are interperters that use the basic asm commands and the turn it into a more user friendly type language like C or basic. check out great cow basic once its a free compiler and commutity supported. http://gcbasic.sourceforge.net/
. there all written on top of asm wich is almost machine language