LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   The chicken, or the egg...... (https://www.linuxquestions.org/questions/general-10/the-chicken-or-the-egg-562220/)

ErrorBound 06-16-2007 06:31 AM

The chicken, or the egg......
 
....so which came first, the first text editor, or the first text editor's source code? ;)

acid_kewpie 06-16-2007 06:59 AM

the first editors would have been written in assembly, so wouldn't have required an editor to create.

coolb 06-16-2007 07:03 AM

it's like what came first? the compiler or the platform?? (the platform requires a compiler, but the compiler requires a platform) and asm/assembly had to of had some "intelligence" to be able to control hardware, which software gives it. This is quite a hard question.

Jorophose 06-16-2007 08:14 AM

Or like how did they make programming languages if they had no way to input stuff?

ErrorBound 06-16-2007 08:24 AM

How do you compile the first compiler?

acid_kewpie 06-16-2007 08:37 AM

byte code. sorry... :)

punch cards didn't need vi to get functional programs running.

taylor_venable 06-16-2007 09:59 AM

Quote:

Originally Posted by Jorophose
Or like how did they make programming languages if they had no way to input stuff?

A computer is a method of transforming input to output. If there's no way to input stuff, there's no reason to have a computer. The only use I can think of for a machine which has no input at all is to generate (mostly) random numbers.

Jorophose 06-16-2007 03:31 PM

Taylor, I meant like no editor, no punch card interpreter, etc.

taylor_venable 06-16-2007 04:22 PM

Oh, well from my operating systems class, it went something like this:

switches -> paper tape -> punch cards -> dumb terminals -> glass terminals

But back in ye olde days of switches and paper tape, you weren't really writing in programming languages, but just writing out the opcodes for the computer to do what you wanted. And everything below that level was in hardware using electrical circuits and what-not and couldn't be changed. So the implementation for each opcode was fixed. That's the way it still is, only with about a million extra layers of abstraction between the high-level programmer and the hard-coded procedures. At least, that's my recollection.

dasy2k1 06-19-2007 05:56 AM

by burning a ROM with the compiler on, written in machine code


All times are GMT -5. The time now is 08:32 AM.