▲ 175 ▼ Debian's APT Will Soon Begin Requiring Rust: Debian Ports Need To Adapt Or Be Sunset (www.phoronix.com) submitted 11 months ago by Blaze@piefed.zip to c/linux@programming.dev 84 comments fedilink hide all child comments
[–] vk6flab@lemmy.radio 50 points 11 months ago (55 children) Is it just me, or does that seem .. abrupt? permalink fedilink source hideshow 55 child comments replies: [–] undu@discuss.tchncs.de 51 points 11 months ago (4 children) There's time until March for the maintainers of the 3 niche architectures to organize and make rust available for them. Doesn't sound that abrupt to me permalink fedilink source parent hideshow 4 child comments replies: [–] Treczoks@lemmy.world 41 points 11 months ago (1 child) For small niches, six months can be rather aprupt. permalink fedilink source parent hideshow 1 child comment replies: [–] SlartyBartFast@sh.itjust.works 20 points 11 months ago My niche can take 5 days or 5 months, depending on ADHD permalink fedilink source parent [–] pelya@lemmy.world 1 point 11 months ago (1 child) Wasn't there a Rust-to-C compiler that would circumvent this limitation? permalink fedilink source parent hideshow 1 child comment replies: [–] LeFantome@programming.dev 4 points 11 months ago Yes. There is also a GCC front-end for Rust (does not go to C first). permalink fedilink source parent [–] iloveDigit@piefed.social 10 points 11 months ago* (45 children) Rust adds another layer of trusting the compiler isn't backdoored. All UNIX/Linux systems use the gcc toolchain, so having it written in C would mean less dependencies for the OS. paraphrased from someone who seemed to know more about this stuff in this unrelated discussion yesterday Strange times. permalink fedilink source parent hideshow 45 child comments replies: [+] aubeynarf@lemmynsfw.com 33 points 11 months ago* (last edited 8 months ago) (42 children) [deleted] permalink fedilink source parent hideshow 42 child comments load more comments (42 replies) [–] eah@programming.dev 12 points 11 months ago There's an ongoing effort to get gcc to compile Rust.^[https://lwn.net/Articles/907405/] permalink fedilink source parent [–] vk6flab@lemmy.radio 7 points 11 months ago This seems relevant: https://youtu.be/Fu3laL5VYdM permalink fedilink source parent [–] ZoteTheMighty@lemmy.zip 8 points 11 months ago* (1 child) For package maintainers, it's reasonable to expect security updates are rolled out the same week that a vulnerability is found. If you can't deploy a new version of a package in 6 months, not maintaining the package is also a valid option. permalink fedilink source parent hideshow 1 child comment replies: [–] WhyJiffie@sh.itjust.works 1 point 11 months ago* but this is not a vulnerability, but adding a cpu architecture to a programming language permalink fedilink source parent [–] LeFantome@programming.dev 5 points 11 months ago The timeline is not super abrupt, especially for architectures where all he is asking is to ensure that your Rust toolchain is in order. That is especially true when you consider that Rust is already well maintained on all the Debian architectures that people actually use. The abruptness (almost rudeness) is in the second part where he basically says that, if you cannot get Rust going in time, you should just stop releasing Debian for that architecture. It is mostly just poorly worded though. Because none of these architectures have “official” support even now. This will not be the only way they are behind. So, there is not reason to be so dramatic. And that would be my response to him. Another option here is that these alternative architectures just continue to ship an older version of APT for now. Emergency avoided. Few of them ship with up-to-date versions of APT even now. Another solution is to use one of the multiple projects that is working to make Rust code build with the GCC compiler back-end. At least one of these projects has already announced that they want to work with these Debian variants to ensure that APT builds with them. So, the 6 month timeline is a reasonable impetus to make that happen which would be quite a good thing beyond just APT. There are many other useful tools written in Rust you are going to want to use on these architectures. It will be a fantastic outcome if this pressure from APT kickstarts that happening for some of these long abandoned architectures (by the mainstream at least). permalink fedilink source parent [+] DmMacniel@feddit.org -13 points 11 months ago yes very, and I hate it. rustic metal is never good ffs! permalink fedilink source parent
[–] undu@discuss.tchncs.de 51 points 11 months ago (4 children) There's time until March for the maintainers of the 3 niche architectures to organize and make rust available for them. Doesn't sound that abrupt to me permalink fedilink source parent hideshow 4 child comments replies: [–] Treczoks@lemmy.world 41 points 11 months ago (1 child) For small niches, six months can be rather aprupt. permalink fedilink source parent hideshow 1 child comment replies: [–] SlartyBartFast@sh.itjust.works 20 points 11 months ago My niche can take 5 days or 5 months, depending on ADHD permalink fedilink source parent [–] pelya@lemmy.world 1 point 11 months ago (1 child) Wasn't there a Rust-to-C compiler that would circumvent this limitation? permalink fedilink source parent hideshow 1 child comment replies: [–] LeFantome@programming.dev 4 points 11 months ago Yes. There is also a GCC front-end for Rust (does not go to C first). permalink fedilink source parent
[–] Treczoks@lemmy.world 41 points 11 months ago (1 child) For small niches, six months can be rather aprupt. permalink fedilink source parent hideshow 1 child comment replies: [–] SlartyBartFast@sh.itjust.works 20 points 11 months ago My niche can take 5 days or 5 months, depending on ADHD permalink fedilink source parent
[–] SlartyBartFast@sh.itjust.works 20 points 11 months ago My niche can take 5 days or 5 months, depending on ADHD permalink fedilink source parent
[–] pelya@lemmy.world 1 point 11 months ago (1 child) Wasn't there a Rust-to-C compiler that would circumvent this limitation? permalink fedilink source parent hideshow 1 child comment replies: [–] LeFantome@programming.dev 4 points 11 months ago Yes. There is also a GCC front-end for Rust (does not go to C first). permalink fedilink source parent
[–] LeFantome@programming.dev 4 points 11 months ago Yes. There is also a GCC front-end for Rust (does not go to C first). permalink fedilink source parent
[–] iloveDigit@piefed.social 10 points 11 months ago* (45 children) Rust adds another layer of trusting the compiler isn't backdoored. All UNIX/Linux systems use the gcc toolchain, so having it written in C would mean less dependencies for the OS. paraphrased from someone who seemed to know more about this stuff in this unrelated discussion yesterday Strange times. permalink fedilink source parent hideshow 45 child comments replies: [+] aubeynarf@lemmynsfw.com 33 points 11 months ago* (last edited 8 months ago) (42 children) [deleted] permalink fedilink source parent hideshow 42 child comments load more comments (42 replies) [–] eah@programming.dev 12 points 11 months ago There's an ongoing effort to get gcc to compile Rust.^[https://lwn.net/Articles/907405/] permalink fedilink source parent [–] vk6flab@lemmy.radio 7 points 11 months ago This seems relevant: https://youtu.be/Fu3laL5VYdM permalink fedilink source parent
[+] aubeynarf@lemmynsfw.com 33 points 11 months ago* (last edited 8 months ago) (42 children) [deleted] permalink fedilink source parent hideshow 42 child comments load more comments (42 replies)
[–] eah@programming.dev 12 points 11 months ago There's an ongoing effort to get gcc to compile Rust.^[https://lwn.net/Articles/907405/] permalink fedilink source parent
[–] vk6flab@lemmy.radio 7 points 11 months ago This seems relevant: https://youtu.be/Fu3laL5VYdM permalink fedilink source parent
[–] ZoteTheMighty@lemmy.zip 8 points 11 months ago* (1 child) For package maintainers, it's reasonable to expect security updates are rolled out the same week that a vulnerability is found. If you can't deploy a new version of a package in 6 months, not maintaining the package is also a valid option. permalink fedilink source parent hideshow 1 child comment replies: [–] WhyJiffie@sh.itjust.works 1 point 11 months ago* but this is not a vulnerability, but adding a cpu architecture to a programming language permalink fedilink source parent
[–] WhyJiffie@sh.itjust.works 1 point 11 months ago* but this is not a vulnerability, but adding a cpu architecture to a programming language permalink fedilink source parent
[–] LeFantome@programming.dev 5 points 11 months ago The timeline is not super abrupt, especially for architectures where all he is asking is to ensure that your Rust toolchain is in order. That is especially true when you consider that Rust is already well maintained on all the Debian architectures that people actually use. The abruptness (almost rudeness) is in the second part where he basically says that, if you cannot get Rust going in time, you should just stop releasing Debian for that architecture. It is mostly just poorly worded though. Because none of these architectures have “official” support even now. This will not be the only way they are behind. So, there is not reason to be so dramatic. And that would be my response to him. Another option here is that these alternative architectures just continue to ship an older version of APT for now. Emergency avoided. Few of them ship with up-to-date versions of APT even now. Another solution is to use one of the multiple projects that is working to make Rust code build with the GCC compiler back-end. At least one of these projects has already announced that they want to work with these Debian variants to ensure that APT builds with them. So, the 6 month timeline is a reasonable impetus to make that happen which would be quite a good thing beyond just APT. There are many other useful tools written in Rust you are going to want to use on these architectures. It will be a fantastic outcome if this pressure from APT kickstarts that happening for some of these long abandoned architectures (by the mainstream at least). permalink fedilink source parent
[+] DmMacniel@feddit.org -13 points 11 months ago yes very, and I hate it. rustic metal is never good ffs! permalink fedilink source parent