News for hackers. Stuff that matters.
Re:Bootstrapping a Compiler by alexchamberlain on Saturday January 17, 2015 @03:33AM (#8903872)
I vaguely remember reading a theoretical article about a compiler that would embed a virus in the result. If it propagated itself somehow, it could be impossible to remove it.
Re:Bootstrapping a Compiler by aneeshm on Saturday January 17, 2015 @03:57AM (#8903917)
You're probably referring to Reflections on Trusting Trust[1], by Ken Thompson.

[1] http://cm.bell-labs.com/who/ken/trust.html

Re:Bootstrapping a Compiler by pgeorgi on Saturday January 17, 2015 @06:43AM (#8904138)
not impossible. build an interpreter for your language and run the compiler in it, to build itself. the result will likely not be "infected" since the compiler hook that reinserts itself misses its cue. (also: compilers with a different structure)