3 ms·
Pretty amusing/scary/insane the number of times you see a chain of languages (automake, perl, python, etc) where you need version X-1 to compile X. The dangers
by 0cf8612b2e1e 2y ago
Pretty amusing/scary/insane the number of times you see a chain of languages (automake, perl, python, etc) where you need version X-1 to compile X. The dangers of dog fooding new features into the core tooling.
Which is how I think Rust works? So to bootstrap Rust requires building every version since the language was self hosted.
- SushiHippie 2y agoThere is also mrustc [0] which can bootstrap rust 1.54.0 and then you can continue from there. [0] https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc
- yencabulator 2y agoSee also https://notgull.net/announcing-dozer/ https://notgull.net/announcing-dozer/ -- removes C++ and LLVM from the stack needed to bootstrap Rust.
- chuckadams 2y agoThat’s to be expected with any bootstrapped language. What’s insane is how relatively recent a version some of the GNU tools depend on, with one version in there depending on itself! I think it’d be a good policy for any bootstrapped tool or language’s build to depend on no later than the last released previous major version. Intermediate bootstrap levels (e.g. miniperl) are fine, as long as one can start from the previous major.