Source code is converted into machine code. Machine is created by human. Why did human create machine that can understand that ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Source code is converted into machine code. Machine is created by human. Why did human create machine that can understand that ?

What is the main feature in machine code that a source code couldn't do....plz explain my doubt..

16th Jan 2019, 6:04 PM
Samuel Frank
Samuel Frank - avatar
1 Answer
+ 4
It's to do with the history of how computers developed, and how humans figured out ways to get machines to follow a set of instructions. Machine code would have been anything from punch cards to on/off signals (which represent boolean). This is easy for the computer to read but hard for humans, so higher level languages were made which then get interpreted into code that a computer understands. I wouldn't say there is a main feature that machine code can do that source code (I'm assuming a higher level language like C) can't do. A computer simply can't understand source code in the way that a human does, but a human is more flexible and can understand both higher level languages and machine code (albeit with more difficulty than a computer). I hope this is a sufficient answer.
16th Jan 2019, 6:34 PM
Lael