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

Lots of great answers – I’m going to give a really simple ELI5 example.

How was the first hammer made? First we used a stick to break up a rock. Then the rock was a tool we could use to make a pointier rock made of harder rock stuff. Over time we figured out how to make bronze, which was amazing because it was way way harder than any rock and we could make it into any shape.

Thousands of years later we have factories which produce 1000s of steel hammers were silicone grips. And other factories which produce big yellow tractors with hydrolic jackhammers.

Programming languages were made this way as well. Except it took less than 100 years.

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