– How did computer scientists develop the “code” that coders use to tell computers what to do?

1.13K viewsOtherTechnology

When we think of modern coding, we think of Python and Rust and Swift and Ruby and so on.

My question is more abstract. How exactly did computer scientists develop the original language used to tell a computer what to do and when to do it? How did they teach the computer to recognize that langauge?

Going even further than that, how did current languages get developed? Did they just rewrite the original computer code from scratch or are all modern computer languages designed to communicate with this baseline original code which all computers were programmed with?

In: Technology

13 Answers

Anonymous 0 Comments

All computer code is binary in its essence.

Think of a calculator, 1 number uses 7 lights to display a number thru visual medium.

Binaey 0001 means 1, means light up all diods on the right side, 1000 means 8 which means, light up all diods. 0000 means 0 which means light up all except the middle one.

In the background, theres physical transistors placed in a logical way, to create a logic board that allows diods to light up in a shape that our brain interprets as a 1 or 0 or 8.

Behind the scenes is still just 1s and 0s. Everything else is just a user interface we use to interpret the code.

Example, binary 0-9. You need 4 bits, or 4 buttons, if you press down the two middle buttons, that means 6, if you press the 2 outer buttons that means 9.
Now instead you have 10 buttons, you’ve drawn a symbol on each, when you press the button with a 9 drawn on it, that button then also physically press down the 2 hidden from display outer buttons. So to you, you only pressing 1 buttons, but the inner workings actually presses down 2 buttons.

Trying to keep this ELI5 instead of writing basically computer science 101 in a reddit thread

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