What was used to write and compile the first program written?
-
How was the first code written if you need a compiler for it which itself is a program/software? How was the first OS made?
-
Answer:
The first program was written in something that we would now call 'pseudocode' by http://en.wikipedia.org/wiki/Ada_Lovelace#First_computer_program. The first operating system is EDSAC. http://www.computerhope.com/jargon/e/edsac.htm. The language is made of mnemonics that look somewhat similar to assembly language; but the meaning and the logic is somewhat different. There is an EDSAC site dedicated to this; they also have a simulator and code samples: http://www.dcs.warwick.ac.uk/~edsac/. Input was delivered via paper tape.
Dorin LazÄr at Quora Visit the source
Other answers
Well they might have used an assembler to create a tiny compiler (For example : A subset of C compiler) and they implemented a full C compiler using the tiny compiler. Then that can be used to compile the program written in C. Read More - http://en.wikipedia.org/wiki/Bootstrapping_(compilers) Also we can say Assembler is also an another program, so initially they should have wrote a simpler assembler with the opcodes or by hand. Those assembler could then b used to create more advanced assemblers and those could then be used to create compilers for languages.
Vishnu Kalapuraikkal Sasidharan
Before invention of languages(even assembly languages) computers were fed instructions using puched cards which looked like this:
Uday Kale
You do can write programs in assembly code you know ... Remember the popular dos game prince of persia ? It was written in assembly.. back then when most of the modern popular languages didnt exist or were famous people used to code in assembly languages. Modern os development relies on something called cross platform compilation where u develop your product in a platform targetting someother platform. Again some part of the first to be evrr developed was written in assembly. Using this part rest of the development was carried out in c or some higher language
Sastry Aditya
Only Uday Kale's answer comes close to the actual answer. However, punch cards came later. To write the basic boostrap code to start a computer, assembly code was converted to binary by hand and fed into the memory one by one. There used to be a panel in which you could type binary code (literally 1s and 0s) and then press another button to save it to memory. There was no compilation/linking to be done. This was then saved in a predefined location and served as the code which the computer would execute when it starts. From there onwards, using the principle of redirection, this could would redirect execution to another memory location where you could place more complex code and so on.
Karan Dwivedi
Related Q & A:
- How do I compile my Python program to a .jar with Jython?Best solution by Stack Overflow
- In what year did the Montreal Gazette published its first edition?Best solution by Yahoo! Answers
- When was the first dictionary written in the English language?Best solution by public.oed.com
- What is the font used to write "Ellen" on the Ellen Degeneres show?Best solution by Yahoo! Answers
- How do you know what's used and what's new on amazon.ca?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.