3 ms·
This might seem funny until you read Ken Thompson's "trusting trust" paper and realize that bootstrapping Rust is a so overwhelming task that someone implemente
by tarruda 2y ago
This might seem funny until you read Ken Thompson's "trusting trust" paper and realize that bootstrapping Rust is a so overwhelming task that someone implemented a Rust compiler in C++ for this purpose: https://github.com/dtolnay/bootstrap https://github.com/dtolnay/bootstrap
I mean, who knows what kind of malware is transparently being injected in all Rust programs out there.
- School-Cotton 2y agoNobody wrote a C++ compiler for this purpose; they wrote a Rust compiler (mrustc) in C++. > I mean, who knows what kind of malware is transparently being injected in all Rust programs out there. FWIW, using Guix it is very straightforward to build the rust toolchain fully bootstrapped starting from mrustc and gcc.
- tarruda 2y ago> Nobody wrote a C++ compiler for this purpose; they wrote a Rust compiler (mrustc) in C++. Edited the comment