f*z 发帖数: 421 | 1 "C was developed in the 1970s at Bell Labs. It was originally designed for
and used on the DEC PDP-11—whose operating system, C compiler, and UNIX
application programs were all written in C."
要是C compiler都是用C写的,那些compiler的原码使用什么编译的?上文的C
copmiler是通常我们说的compiler, 还是其他什么东西? |
f*z 发帖数: 421 | 2 是不是已经有一个OS和compiler,然后基于他们再用C为这个新机器写一个OS和
compipler。
【在 f*z 的大作中提到】 : "C was developed in the 1970s at Bell Labs. It was originally designed for : and used on the DEC PDP-11—whose operating system, C compiler, and UNIX : application programs were all written in C." : 要是C compiler都是用C写的,那些compiler的原码使用什么编译的?上文的C : copmiler是通常我们说的compiler, 还是其他什么东西?
|
c*****t 发帖数: 1879 | 3 The second part is a urban legend. Ken Thompson merely talked about the
potential in his Turing Award acceptance speech. So stop spreading it
any longer.
http://en.wikipedia.org/wiki/Ken_Thompson#Turing_Award |
f*z 发帖数: 421 | |
S*****n 发帖数: 227 | 5 交叉编译。
【在 f*z 的大作中提到】 : "C was developed in the 1970s at Bell Labs. It was originally designed for : and used on the DEC PDP-11—whose operating system, C compiler, and UNIX : application programs were all written in C." : 要是C compiler都是用C写的,那些compiler的原码使用什么编译的?上文的C : copmiler是通常我们说的compiler, 还是其他什么东西?
|
c*****t 发帖数: 1879 | 6 Well, reading comprehension for the lose ^_^ Please read the Chinese
version and tell me they mean the same. No wonder there is a term
called Chinese whisper.
Also, the text has no reference. While Wikipedia is a good place
to look up things. Taking text that has no reference as "truth"
is silly.
Bottom line: if you can find the actual reference, I will give you
credit. Regardless, the Chinese version is just too imaginary.
the |
g***y 发帖数: 764 | 7 re 那哥们绕来绕去的 也不知道肚子里到底有料没有
思; |
D****g 发帖数: 2860 | 8 for every new language, you always need some means of bootstrapping to
create a compiler written in its own.
【在 f*z 的大作中提到】 : "C was developed in the 1970s at Bell Labs. It was originally designed for : and used on the DEC PDP-11—whose operating system, C compiler, and UNIX : application programs were all written in C." : 要是C compiler都是用C写的,那些compiler的原码使用什么编译的?上文的C : copmiler是通常我们说的compiler, 还是其他什么东西?
|
g*****g 发帖数: 34805 | 9 写一个简单的汇编编译器,可以编译一些简单的C代码,
你可以认为是一个简化的C语言,用这个简化的C语言,
可以写出可以编译复杂一点的C语言的编译器,层层
递进上去。几个版本之后最初的汇编编译器永远用不上了。
以后所有的其他语言也不再需要。
【在 f*z 的大作中提到】 : "C was developed in the 1970s at Bell Labs. It was originally designed for : and used on the DEC PDP-11—whose operating system, C compiler, and UNIX : application programs were all written in C." : 要是C compiler都是用C写的,那些compiler的原码使用什么编译的?上文的C : copmiler是通常我们说的compiler, 还是其他什么东西?
|
d******y 发帖数: 1039 | 10 快赶上唐僧了
【在 c*****t 的大作中提到】 : Well, reading comprehension for the lose ^_^ Please read the Chinese : version and tell me they mean the same. No wonder there is a term : called Chinese whisper. : Also, the text has no reference. While Wikipedia is a good place : to look up things. Taking text that has no reference as "truth" : is silly. : Bottom line: if you can find the actual reference, I will give you : credit. Regardless, the Chinese version is just too imaginary. : : the
|
f*z 发帖数: 421 | 11 模模糊糊明白了一点。
谢谢大家。
半路出家就是不好。
【在 g*****g 的大作中提到】 : 写一个简单的汇编编译器,可以编译一些简单的C代码, : 你可以认为是一个简化的C语言,用这个简化的C语言, : 可以写出可以编译复杂一点的C语言的编译器,层层 : 递进上去。几个版本之后最初的汇编编译器永远用不上了。 : 以后所有的其他语言也不再需要。
|