Ubuntu 25.10’s transition to using Rust Coreutils in place of GNU Coreutils has uncovered a few performance issues so far with the Rust version being slower than the C-based GNU Coreutils. Fortunately there still are a few weeks to go until Ubuntu 25.10 releases as stable and upstream developers are working to address these performance gaps.

  • boomzilla@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 hours ago

    Do I understand the article and github issue correctly and we can put away the pitchforks already because they fixed the specific part already and it’s now even more performant than GNU coreutils?

  • flux@lemmy.ml
    link
    fedilink
    arrow-up
    19
    ·
    12 hours ago

    Rust is great, but might it be a bit premature to replace the venerable coreutils with a project boasting version number 0.2, which I imagine reflects its author’s view on its maturity?

  • yamamoon@lemmings.world
    link
    fedilink
    arrow-up
    26
    arrow-down
    5
    ·
    12 hours ago

    This should be avoided like the plague because of the choice to use MIT over GPL.

    Any work dedicated to this can and will be stolen by corporations without giving back if they find it useful. This is what happened with Sony and Apple and their respective operating systems. They chose to base them on BSD so they could steal work and not give back to the public.

    Do not be fooled.

    • communism@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      Author: “I consent to my code being used for proprietary programs!”

      Compant: “I consent to using this FOSS code in my proprietary program!”

      You for some reason: “I don’t!”

        • communism@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          You can fork it and GPL it just fine, the MIT licence allows for that, however anyone who wants to make the codebase proprietary can just fork the original upstream project. Not much point GPLing a project if you make zero changes to it. If you make changes then in practice just your changes are GPLed because anyone wanting to use code from upstream can just use it directly from upstream under MIT.

    • digger@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      Isn’t this the reason for the switch? I thought MIT was the whole reason they were making the switch.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      3
      ·
      12 hours ago

      They chose to base them on BSD so they could steal work and not give back to the public.

      “Here you can use this as you like, no questions asked”

      “Hey! Why did you use that in a way that I told you you could!?!?”

      • HubertManne@piefed.social
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        2
        ·
        9 hours ago

        yes. that is why he is saying go with the gpl or at least if your adding code add it to gpl unless you are fine with your stuff being used but nothing coming back to the communities by others.

          • HubertManne@piefed.social
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            8 hours ago

            Yeah I think you are just ignoring context. He means steal the way someone just taking advantage of the commons might be said to. Ugh he only comes to these things so he can steal away a bunch of pastries back to his pad. The language is to mean that the bsd license allows folks to steal while the gpl requires reciprocity.

            • atzanteol@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              4
              ·
              7 hours ago

              The intent of the BSD licences is to allow you to do what you want without reciprocating though. It’s not an accident, it’s explicitly stated. It is, in fact, your right. You profiting from the work of others is an intended result.

              I prefer GPL myself for this reason. But you can’t blame companies for obeying the terms of the licence.

              • HubertManne@piefed.social
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                2
                ·
                7 hours ago

                But that is what he was actually saying. His comment was he would rather see it as gpl because mit effectively allows the hard work to be stolen like what we saw with apple and bsd. Hes not blaming apple he is just saying he would not have issue if it was gpl instead of mit. Again its like you have to look at the whole message and context for meaning rather than the strict definition of the one line.

                • atzanteol@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  5 hours ago

                  It can’t be any sort of “theft” if you leave it on the curb with a sign saying “Free” next to it.

      • magz :3@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        11
        arrow-down
        2
        ·
        11 hours ago

        i think the argument here is more that saying “you can use this however you like, no questions asked” is a bad idea because it allows corporations to approriate the work

    • Froggie 🐸@lemmy.zip
      link
      fedilink
      arrow-up
      30
      ·
      edit-2
      15 hours ago

      Language isn’t everything. While Rust provides some features and safety that C doesn’t while being roughly equivalent in performance, the algorithms that developers choose will dominate the performance impact on the program.

      GNU core utils has decades of accumulated knowledge and optimisation that results in the speed it has. The Rust core utils should in theory be able to achieve equivalent performance, but differences in the implementation choices between one and another, or even something as simple as the developers not having prioritised speed yet and still focusing on correctness could explain the differences that are being reported.

    • SavvyWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      57
      ·
      18 hours ago

      Rust and C are the same “tier” of performance, but GNU coreutils has the benefit of several decades of development and optimization that the Rust one needs to catch up with.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      16 hours ago

      Rust is fundamentally more limiting than C, even with unsafe. It is often faster if you write naive code (because the Rust compiler can optimize more aggressively due to those same limitations), but an experienced developer with a lot of time for optimization will probably be able to squeeze more performance out of C than they would out of Rust - as you can see in this example. Rust is still better because those limitations all but guarantee that the resulting code will be safer, and the performance differences would be negligible all things considered.

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      16 hours ago

      It’s more a thing like in ripgrep vs. grep; new algorithms being vastly faster in most cases except in some.

    • HubertManne@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 hours ago

      Although if it did happen they could be sued for breaking it. I really don’t get the sarcasm here. with mit/bsd not giving back is fully legal with gpl its not.