10 ms·
If he thinks that's weird, then he ought to read Ken Thompson's article about trusting compilers. http://cm.bell-labs.com/who/ken/trust.html http://cm.bell-lab
by chris_wot 13y ago
If he thinks that's weird, then he ought to read Ken Thompson's article about trusting compilers.
http://cm.bell-labs.com/who/ken/trust.html http://cm.bell-labs.com/who/ken/trust.html
- vowelless 13y agoA somewhat related albeit primarily entertaining idea is that behind the Quine: http://en.wikipedia.org/wiki/Quine_(computing) http://en.wikipedia.org/wiki/Quine_(computing)
- IgorPartola 13y agoWhile I love the story, it's really amusing to watch how it gets re-discovered on HN every few years, blows everyone's minds, and then gets quoted all over the place, even where it is only mildly relevant. This might be our "does glass flow" meme.
- chris_wot 13y agoSeemed relevant to me. The question asked about compilers and the kernel is what compiled the compiler. Ken Thompsons' talk related to hiding code by adding code to a compiler then compile the compiler, remove the code then continue to compile the compiler with the modified version that doesn't have the source code - your modification remains. Point being: both relate to compiling compilers.
- dllthomas 13y ago> the kernel is what compiled the compiler That's not what a kernel does...
- deleted 13y ago[deleted]
- chris_wot 13y agoWho are you quoting? Certainly wasn't me!
- dllthomas 13y agoUh, it was the parent comment - do a search if you can't find it on perusal. It's possibly taken out of context but I don't see a reading of the passage in question that doesn't include that sentiment. Could you clarify?
- chris_wot 13y agoThe parent comment? I was the top level commenter on this. Do you mean the article itself? It reads: "The kernel is written in C, however how did the kernel get compiled without a compiler installed?" And... "If the C compiler is installed on my machine before the kernel is compiled, how can the compiler itself get compiled without a compiler installed?"
- dllthomas 13y agoObligatory DDC link: http://www.dwheeler.com/trusting-trust http://www.dwheeler.com/trusting-trust