swiley is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@karen Bootstrap it. The first C compiler was written in assembler. Then write a compiler in C and compile it. Now C compilers are compiling C. The first #golang compiler was written in C. but then they wrote the next Go compiler in go, so now Go compiles Go code.

Another thought experiment: malware in the compiler that auto injects vulnerabilities into compiled code. But when it detects that it is compiling the compiler, add the malware into it so that next compiler has it too.

swiley @swiley

@cj

Isn't that what Ken Thompson's ACM acceptance speech was on?

Β· Web Β· 0 Β· 1

@swiley I'm not familiar with it, but I would not be surprised if so!