Hey guys im starting to have interest in computer programming, but i have a question. If these programming languages are used to make softwares, how were these programming languages are made?
Originally people programmed in binary (1's and 0's) and then they developed alanguage out of this (I forget who and what). From this language a whle spawn of human languages emerged until what we have today.
Somebody designed them. Computers only really interpret a series of binary opcodes which encode very simple instructions like moving values between registers and memory or add two registers together along with a few comparison and branch instructions.
Eventually somebody produced mnenomic assembly which basically just replaces the machine opcodes 1 to 1 in a more readable language. Naturally the first assemblers had to be written in machine code directly but later ones could be written in assembly language using the earlier assemblers to bootstrap the build process.
Later higher level languages came about the same way. People built compilers to convert high level languages into assembly and then used the assembler to build a working binary. Naturally the first compilers were written in assembly with later ones coming in high level languages.
The key theme is bootstrapping. At each level of abstraction we always start by developing it in the last level and then using that to implement something similar in a higher level language. This is why Python is implemented in C, you could write a Python compiler in Python and use the C based interpreter to bootstrap it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks