Re:Resigning as Asahi Linux project lead
by purplesyringa on Thursday February 13, 2025 @12:34PM
(#43038720)
Can you provide an example for the broken-crater claim? As far as I'm aware, Rust folks don't break compatibility that easily, and the one time that happened recently (an old version of the `time` crate getting broken by a compiler update), there were a lot of foul words thrown around and the maintainers learned their lesson. Are you sure you aren't talking about crates triggering UB or crates with unreliable tests that were broken anyway?
Re:Resigning as Asahi Linux project lead
by uecker on Thursday February 13, 2025 @01:21PM
(#43039320)
I am not following this too closely (the time issue seemed pretty severe though), but there are compatibility changes listed in the release notes very frequently:
https://github.com/rust-lang/rust/blob/master/RELEASES.md
Re:Resigning as Asahi Linux project lead
by knowitnone on Thursday February 13, 2025 @12:59PM
(#43039038)
What do you mean? Rust 1.0 can compile Rust 1.0. Rust 1.1 can compile Rust 1.1.
Re:Resigning as Asahi Linux project lead
by chongli on Thursday February 13, 2025 @02:01PM
(#43039808)
C makes a distinction between the language version and the compiler version. Rust does not. That's the problem people are discussing here.
Re:Resigning as Asahi Linux project lead
by gkbrk on Thursday February 13, 2025 @01:20PM
(#43039311)
C99 isn't a compiler version. It's a standard. Many versions of GCC, Clang and other compilers can compile C99 code. If you update your compiler from gcc 14.1 to gcc 14.2, both versions can still compile standard code.
Re:Resigning as Asahi Linux project lead
by uecker on Thursday February 13, 2025 @01:24PM
(#43039356)
There is also a very high level of backwards compatibility between versions of ISO C because there is a gigantic amount of code is updated if there is change. So such changes are done only for important reasons or after a very long deprecation period.
Re:Resigning as Asahi Linux project lead
by umanwizard on Thursday February 13, 2025 @01:13PM
(#43039231)
Right, which is basically the opposite of what backwards incompatibility means. Imagine if GCC 14.2.0 was only guaranteed to be able to compile "C 14.2.0".
Re:Resigning as Asahi Linux project lead
by johnisgood on Thursday February 13, 2025 @01:34PM
(#43039471)
But Rust 1.0 can't compile Rust 1.1.
And as others have noted, C99 is a standard and Rust lacks one.
Since Rust doesn't have a standard, the guarantee is "whatever the current version of the compiler can compile". To check if they broke anything they compile everything on crates.io (called a crater run).
But if you check results of crater runs, almost every release some crates that compiled in the previous version stop compiling in the new version. But as long as the number of such breakages it not too large, they say "nothing is broken" and push the release.