Derock's Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
mesa@lemmy.world to Linux@lemmy.worldEnglish · 4 months ago

Ubuntu Will Replace GNU Core Utilities With Rust

tube.archworks.co

video
message-square
44
fedilink
16
video

Ubuntu Will Replace GNU Core Utilities With Rust

tube.archworks.co

mesa@lemmy.world to Linux@lemmy.worldEnglish · 4 months ago
message-square
44
fedilink
In this video I discuss Ubuntu's decision to switch to using rust implementations of the core utilities (mkdir, ls, cat, etc...) and what it could mean for the broader Linux ecosystem. My merch is ...
alert-triangle
You must log in or register to comment.
  • sik0fewl@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 months ago

    I can finally stop calling it GNU/Linux.

    • InnerScientist@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 months ago

      Rust/linuxRust

      • masterofn001@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 months ago

        Lust

      • Psychadelligoat@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        4 months ago

        Oh good God, Linux is finally old enough to start rusting?! And on BOTH ENDS?

        vigorously shakes can of WD-40

  • DioEgizio [he/they]@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    Wait is this their way to break compatibility with old binaries so that you’re forced to use snap?

    • HappyFrog@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 months ago

      They’re steadily climbing the test suit:

      test coverage

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      The uutils should be compatible so I don’t think so

    • GolfNovemberUniform@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I don’t think so unless they make their own rust core utils.

  • GolfNovemberUniform@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    That’s extremely unexpected.

    • Björn Tantau@swg-empire.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 months ago

      The GNU utils weren’t written by Canonical so they were doomed from the start.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 months ago

        Not to worry, they’ll ship 'em via snap.

        • InnerScientist@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          Straight to jail.

          • Avid Amoeba@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            1
            ·
            4 months ago

            I like snap, send me to camp.

            • BeardedGingerWonder@feddit.uk
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 months ago

              Lol, I don’t hate snap, I also don’t need a sandboxed ls with a 30s startup time.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          More likely they will make them dependent on snap so you can’t remove snap without breaking the system.

        • mesa@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Oh god no

    • sunzu2@thebrainbin.org
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Why?

      • GolfNovemberUniform@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Because why? I can expect a very niche distro like Cachy do it but not a big project with a serious market share.

        • tehfishman@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Canonical has a long history of doing wacky shit that nobody asked for though. Unity, upstart, snap, probably other things that I’m not thinking of

          • iopq@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 months ago

            Unity was great, though. Ubuntu took a hit going back to customized gnome

  • Mouette@jlai.lu
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    Is there any actual benefit ?

    • arjache@fedia.io
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      Code written in Rust has been shown to have significantly fewer security vulnerabilities than code written in C. Distributions like Ubuntu ship a lot of security updates, so by switching to Rust-based utils, they can reduce their workload in the long run.

      • masterofn001@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        There’s probably some zero day exploit someone is holding onto until everything is rust and then, bam!. Yeah, that’s just silly to think. Just silly.

    • GolfNovemberUniform@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      4 months ago

      Just security and hype afaik.

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        No, it isn’t just hype. The hype is justified.

        Outside of security you have some very really world benefits, like performance gains in various scenarios as well as lots more people willing to contribute and a much better type system (more maintainability).

    • mesa@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      It’s been proven faster. That’s all I personally know.

      • GolfNovemberUniform@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        4 months ago

        Nothing except for binary coding can be faster than C I think.

        • qaz@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 months ago

          Rust is better for writing multithreaded applications which means that the small amount of utilities that can utilize parallelism receive a significant speedup. uutils multithreaded sort was apparently 6x faster than the GNU utils single threaded version.

          P.S. I strongly doubt handwritten assembly is more efficient than modern C compilers.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            My simple assembly program can rum circles around compilers. As long as something is small it is possible to optimize better than a C compiler.

            • gens@programming.dev
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              4 months ago

              Compilers have a lot of chalenges to even compile, let alone optimize. Just register allocation alone is a big problem. An inherent problem is that the compiler does not know what the program is supposed to do. Humans still write better assembly then compilers.

              The one down arrow on the guy you are responding to is from me, just so everybody knows.

        • thedeadwalking4242@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Fortran

          • qaz@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            I’m not sure why people are downvoting you, since Fortran is known to be extremely performant when dealing with multidimensional arrays.

    • UnityDevice@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      4 months ago

      Well the rust project is MIT licensed, so definitely not.

      • BrilliantantTurd4361@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        I thought MIT licensing was a good thing?? What am i missing??

        • UnityDevice@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          The success of FOSS can in large part be attributed to copyleft licenses like the GPL. Without the protections of copyleft clauses, software just gets exploited by large corporation and end users are locked out. For just one example, if GNU software had used MIT, the entire free router movement (i.e ddwrt, openwrt and co.) would not exist today.

          See: Free Software Foundation, Inc. v. Cisco Systems, Inc..

  • Sgarcnl@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 months ago

    Archlinux usually is a bit more reasonable. I don’t understand the forcing. Just makes me love it (archlinux) more!

  • stravanasu@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    What about licences and FOSS?

    • fum@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      According to the video it’s MIT licence, and they discuss the risk of such a licence vs coreutils usage of the GPL

      • stravanasu@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        This worries me indeed.

  • Vopyr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Why, for what purpose? Sounds very shady, at best.

  • daggermoon@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Rust is good, rare Ubuntu W. Now stop with the forced use of snaps.

    • dustyData@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      4 months ago

      You think this is a win, but is just another step in the enshittification.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    4 months ago

    To bad no body really uses it (or at least they shouldn’t)

  • mathic@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    4 months ago

    Ubuntu continues to show that it’s the absolute worst.

Linux@lemmy.world

linux@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 36 users / day
  • 655 users / week
  • 2.23K users / month
  • 3.67K users / 6 months
  • 1 local subscriber
  • 11.7K subscribers
  • 441 Posts
  • 2.59K Comments
  • Modlog
  • mods:
  • MigratingtoLemmy@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org