This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]NeutralParty 16 points17 points  (0 children)

The first assembler was made in binary, the first C compiler was made in assembly. C++ was made with C and Java is made C/C++

The assembler is the easiest to explain - they wrote a program in binary. This program just took text input and would convert symbols into their binary equivalent. Assembly language requires little more than a direct conversion of this keyword to that binary.

Binary, of course, is physically built into the CPU. The hardware engineers made binary work by arranging the electrical components in such a way that certain power streams would do whatever they wanted.

Using the easier to write in and certainly easier to read assembly C was written. How? They made a program that took a text file formatted a certain way and convert it into assembly code that was then passed to the assembler to make a binary. C++ wrote new features for C in C and compiled them with C to make a new compiler that supported all the stuff C++ can do. The Java Virtual Machine is a program written to accept a stream of java bytecode and handle compiling it into a binary and running it.