How was the first C compiler written?

后端 未结 3 1341
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 15:27

Is it true that the first C compiler was written in C itself? Then, how was it executed and compiled? Or, was this compiler written in assembly language?

3条回答
  •  有刺的猬
    2020-12-07 16:07

    The first C compiler wasn't written in C, usually when writing a compiler we use either assembly language, or another programming language, and it's common that after first compilation, the compiler is rewritten in it's native language.

    There's a lot of programming languages that have been written in C then rewritten in their native language : Java for example, Ada ...

提交回复
热议问题