In which language compilers are written in? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

In which language compilers are written in?

Every program from Hello World to huge and complicated programs are written in a specific language so what about compilers are they written in machine language

19th Jun 2018, 4:22 PM
Shahil Ahmed
Shahil Ahmed - avatar
3 Answers
+ 11
Everything on your computer is written in the same way via programming and binary. This includes everything from your terminal, operating system, and the compiler you use to write your codes. There is no set language in which the compilers are written in, and the language used for each one depends on the company and requirements needed for that language to work.
19th Jun 2018, 4:47 PM
Faisal
Faisal - avatar
+ 9
Hello, Shahil Ahmed ! Compilers are utility programs - they turn the text of a programming language into machine code. If the programming language describes software that is simply a compiler ..... Compilers can also create machine code for other architectures. For example, Apple compiles iOS using Intel-based server racks. The compiler does not need to run the ARM code it created, just write it to disk.
19th Jun 2018, 4:49 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 4
If talking about compiler designing, There are very few groups that work on this like one of these is Microsoft. For compiler designing,The subject Theory of computations is very important and trust me it is very interesting. You can also refer to the books of Compiler designing for instance by one of the foreign authors like Ullman.
19th Jun 2018, 8:58 PM
Oshin Bajaj
Oshin Bajaj - avatar