Question about Compiler | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Question about Compiler

Hello Everyone please help me to understand how the compiler works . Is the compiler also a bunch of code or is it an algorithm through which our code passes and it convert it into actual machine code

28th Jun 2022, 12:17 PM
Mohammad Yameen
1 Answer
+ 2
A compiler usually takes code written in a specific language and translates it into binary code, which is the only code computers can actually understand. But because binary code is only 0s and 1s and much too unrealistic to understand as humans for more than a couple characters at a time, we have programming languages like C, Java, Python to make it easier for us to give instructions to the computers. You can check out some videos on YouTube to explain more clearly such as this one: https://youtu.be/QXjU9qTsYCc
28th Jun 2022, 12:51 PM
Justice
Justice - avatar