logoalt Hacker News

endgame • today at 2:09 AM • 5 replies • view on HN

The ability to trust the compiler.


Replies

afdbcreid • today at 10:55 AM

That's actually the opposite: to avoid trusting trust attacks you need to remove Rust from the bootstrap chain, not C++.

aw1621107 • today at 3:12 AM

I'm not particularly convinced the presence of C++ in the toolchain is a good deciding factor for whether you can trust the compiler (well, depending on what exactly you mean by "trust", I suppose). If anything, I think people already generally consider the Rust (and C and C++ and Fortran and etc.) compilers built on said backends trustworthy so it's not clear that anything is missing in the first place.

adastra22 • today at 5:07 AM

Why do you trust the C compiler.

dwaite • today at 6:13 AM

trust in what meaningful way toward the task of code compilation?

fc417fc802 • today at 10:14 AM

Given how bloa- err, large both c++ and rust are I don't see how anyone could ever trust a compiler for either language in the same way you can a minimal c (or better yet r5rs) compiler.