39

You need a programming language to ..

Comments
  • 12
    C is written in C.
  • 16
    I go through this like once a month and then remind myself to just stop trying to understand the matrix
  • 3
    Genetic programming ftw!
  • 1
    Program a program with write program with a interpreter to the program.
  • 4
    Machine code.
  • 1
    @drRoss then how was C first written, to be written in C?
  • 9
    @birkenspanner Look up "bootstrapping".

    Basically you start with a very minimal process/set of functions that can be used to compile the code that defines a slightly more functional compiler. This creates your next compiler which then can then be used to build code that can do even more. You repeat this process until you have a full blown compiler that can compile all the language features.

    The other alternative is to write the first version of the compiler in a different language and then write the next version in your target language.

    Taken from: http://softwareengineering.stackexchange.com/...
  • 0
    @drRoss Thanks, that's pretty interesting.
  • 1
    Basically, someone in the past wrote an assembler in binary code and then at some point someone wrote a compiler/interprenter in assembly. At least that's what logic dictates...
  • 0
    RISC ?
Add Comment