Eli5: If a compiler is a program that converts your code into binary form for the computer, unless my understanding is incorrect and it isn’t just a program, wouldn’t the compiler also need a compiler to run it since how do you run a program without a compiler?

1.04K views

Eli5: If a compiler is a program that converts your code into binary form for the computer, unless my understanding is incorrect and it isn’t just a program, wouldn’t the compiler also need a compiler to run it since how do you run a program without a compiler?

In: 360

25 Answers

Anonymous 0 Comments

I think your question is basically the compiler version of the “What came first, the chicken or the egg?” question.

The simplified answer is that the first compliers were written directly in binary (hexadecimal to be precise). Then 2nd generation compilers were written using the 1st etc.

You are viewing 1 out of 25 answers, click here to view all answers.