Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Notes on coreutils in Rust

Notes on coreutils in Rust

Scheduled Pinned Locked Moved Linux
linux
14 Posts 13 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ikidd@lemmy.worldI This user is from outside of this forum
    ikidd@lemmy.worldI This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

    C M S beejjorgensen@lemmy.sdf.orgB neptr@lemmy.blahaj.zoneN 7 Replies Last reply
    0
    • System shared this topic on
    • ikidd@lemmy.worldI [email protected]

      With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

      C This user is from outside of this forum
      C This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      I don't think anyone is relying on performance of coreutils. If you're concerned about performance, you're already writing a program directly, not using a shell script.

      P 1 Reply Last reply
      0
      • ikidd@lemmy.worldI [email protected]

        With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Why do you think it would affect performance?

        1 Reply Last reply
        0
        • ikidd@lemmy.worldI [email protected]

          With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

          S This user is from outside of this forum
          S This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          I think your question is relevant as there are unfortunately plenty of shell scripts out there doing critical batch work. But it won't change the momentum of the Rust push happening right now.

          1 Reply Last reply
          0
          • ikidd@lemmy.worldI [email protected]

            With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

            beejjorgensen@lemmy.sdf.orgB This user is from outside of this forum
            beejjorgensen@lemmy.sdf.orgB This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Rust has some big binaries due to static linkage, and the Rust coreutils gets around this Busybox-style, compiling everything into one binary that you hard link to. Pretty neat. The project is easy to build and mess with without installing if you're curious about it. And you could add the build dir to the front of your path if you want to try it out with low risk.

            1 Reply Last reply
            0
            • ikidd@lemmy.worldI [email protected]

              With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

              neptr@lemmy.blahaj.zoneN This user is from outside of this forum
              neptr@lemmy.blahaj.zoneN This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              It is faster, optimization is one of the uutils project's stated goals.

              1 Reply Last reply
              0
              • ikidd@lemmy.worldI [email protected]

                With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

                X This user is from outside of this forum
                X This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                The performance you're dealing with here is in the tens of milliseconds possibly hundreds if you're lucky. Anyone seriously pursuing this issue from the angle of performance genuinely doesn't understand the deep rooted issues here.

                If you're so incredibly hard up for compute time that it's critical for you to squeeze out the extra 1/10 of a second from your system utilities then you need to shut your fucking computer down and go touch grass.

                cerement@slrpnk.netC N 2 Replies Last reply
                0
                • C [email protected]

                  I don't think anyone is relying on performance of coreutils. If you're concerned about performance, you're already writing a program directly, not using a shell script.

                  P This user is from outside of this forum
                  P This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Relying on is perhaps too strong, but I enjoy operations like sort getting faster and I don't know how they've written cp but there's a cp alternative using async IO with io_uring that's almost twice as fast, I'm sure it'd interest people if such optimizations made it into coreutils.

                  1 Reply Last reply
                  0
                  • X [email protected]

                    The performance you're dealing with here is in the tens of milliseconds possibly hundreds if you're lucky. Anyone seriously pursuing this issue from the angle of performance genuinely doesn't understand the deep rooted issues here.

                    If you're so incredibly hard up for compute time that it's critical for you to squeeze out the extra 1/10 of a second from your system utilities then you need to shut your fucking computer down and go touch grass.

                    cerement@slrpnk.netC This user is from outside of this forum
                    cerement@slrpnk.netC This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    this was me watching some of the cheering when neofetch got archived, people complaining “good, neofetch is too slow” – WTF were you doing with neofetch where speed was a factor?!

                    Q that_leaflet@lemmy.worldT 2 Replies Last reply
                    0
                    • cerement@slrpnk.netC [email protected]

                      this was me watching some of the cheering when neofetch got archived, people complaining “good, neofetch is too slow” – WTF were you doing with neofetch where speed was a factor?!

                      Q This user is from outside of this forum
                      Q This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      .bashrc greeter? ;-;

                      Not saying that neofetch going away was a good thing tho

                      cerement@slrpnk.netC 1 Reply Last reply
                      0
                      • Q [email protected]

                        .bashrc greeter? ;-;

                        Not saying that neofetch going away was a good thing tho

                        cerement@slrpnk.netC This user is from outside of this forum
                        cerement@slrpnk.netC This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        when the last message was “Have taken up farming.”, kinda hard to hold anything against them …

                        1 Reply Last reply
                        0
                        • ikidd@lemmy.worldI [email protected]

                          With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

                          R This user is from outside of this forum
                          R This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          Im more concerned about the stupid license

                          1 Reply Last reply
                          0
                          • cerement@slrpnk.netC [email protected]

                            this was me watching some of the cheering when neofetch got archived, people complaining “good, neofetch is too slow” – WTF were you doing with neofetch where speed was a factor?!

                            that_leaflet@lemmy.worldT This user is from outside of this forum
                            that_leaflet@lemmy.worldT This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            On some systems neofetch would actually run quite slow. Even on my fast system it would occasionally take a second because it hung on one step.

                            1 Reply Last reply
                            0
                            • X [email protected]

                              The performance you're dealing with here is in the tens of milliseconds possibly hundreds if you're lucky. Anyone seriously pursuing this issue from the angle of performance genuinely doesn't understand the deep rooted issues here.

                              If you're so incredibly hard up for compute time that it's critical for you to squeeze out the extra 1/10 of a second from your system utilities then you need to shut your fucking computer down and go touch grass.

                              N This user is from outside of this forum
                              N This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              I’d take those tens of milliseconds. That shit scales and I’ve seen infra in the scale of millions more-or-less glued together by shell scripts and coreutils/busybox.

                              1 Reply Last reply
                              0
                              • System shared this topic on
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups