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. Ubuntu Will Replace GNU Core Utilities With Rust

Ubuntu Will Replace GNU Core Utilities With Rust

Scheduled Pinned Locked Moved Linux
linux
81 Posts 49 Posters 428 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.
  • S [email protected]
    This post did not contain any content.
    ? Offline
    ? Offline
    Guest
    wrote on last edited by
    #28

    While shifting to Rust might be a good idea for improving safety and performance, adopting the MIT license represents a fundamental change that will enable large tech companies to develop and distribute proprietary software based on the new MIT-licensed Core Utilities. This shift moves away from the original vision of the project which was to ensure that the software remains free and open as enshrined in the GPL's copyleft principles. The permissive nature of the MIT license also will increase fragmentation, as it allows proprietary forks that diverge from the main project. This could weaken the community-driven development model and potentially lead to incompatible versions of the software.

    A P ? I L 5 Replies Last reply
    0
    • S [email protected]

      Yeah the licensing is a bit worrying, but it's not a language issue.

      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
      #29

      It actually is a language issue.

      Although rust can dynamically link with C/C++ libraries, it cannot dynamically link with other Rust libraries. Instead, they are statically compiled into the binary itself.

      But the GPL interacts differently with static linking than with dynamic. If you make a static binary with a GPL library or GPL code, your program must be GPL. If you dynamically link a GPL library, you're program doesn't have to be GPL. It's partially because of this, that the vast majority of Rust programs and libraries are permissively licensed — to make a GPL licensed rust library would mean it would see much less use than a GPL licensed C library, because corporations wouldn't be able to extend proprietary code off of it — not that I care about that, but the library makers often do.

      https://en.wikipedia.org/wiki/GNU_General_Public_License#Libraries — it's complicated.

      killeronthecorner@lemmy.worldK S 2 Replies Last reply
      0
      • S [email protected]

        No that's the issue: it's too permissive. It allows corporations or individuals to redistribute and modify the code as closed source, which isn't desirable for this kind of project.

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

        I interpreted your message wrong, now I get it, thanks!

        1 Reply Last reply
        0
        • M [email protected]

          It actually is a language issue.

          Although rust can dynamically link with C/C++ libraries, it cannot dynamically link with other Rust libraries. Instead, they are statically compiled into the binary itself.

          But the GPL interacts differently with static linking than with dynamic. If you make a static binary with a GPL library or GPL code, your program must be GPL. If you dynamically link a GPL library, you're program doesn't have to be GPL. It's partially because of this, that the vast majority of Rust programs and libraries are permissively licensed — to make a GPL licensed rust library would mean it would see much less use than a GPL licensed C library, because corporations wouldn't be able to extend proprietary code off of it — not that I care about that, but the library makers often do.

          https://en.wikipedia.org/wiki/GNU_General_Public_License#Libraries — it's complicated.

          killeronthecorner@lemmy.worldK This user is from outside of this forum
          killeronthecorner@lemmy.worldK This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #31

          The lack of ABI stability in Rust means they don't have to commit to language changes that may prove to be unpopular or poorly designed later.

          Swift went through the same growing pains and, IMO, has suffered for it a bit with even quite basic code often needing lots of availability checks. This may seem counter intuitive but Swift is in the unique(-ish) position of having to serve both a huge corporation demanding significant evolution on a regular basis and a cross platform community that don't want to write an encyclopedia every time a major version of the language is rolled out.

          Rust doesn't have this issue and I think it's right for them to allow themselves the freedom to correct language design errors until it gains more traction as a systems language - and it's quite exciting that we're seeing that traction happen now in realtime!

          1 Reply Last reply
          0
          • M [email protected]

            It actually is a language issue.

            Although rust can dynamically link with C/C++ libraries, it cannot dynamically link with other Rust libraries. Instead, they are statically compiled into the binary itself.

            But the GPL interacts differently with static linking than with dynamic. If you make a static binary with a GPL library or GPL code, your program must be GPL. If you dynamically link a GPL library, you're program doesn't have to be GPL. It's partially because of this, that the vast majority of Rust programs and libraries are permissively licensed — to make a GPL licensed rust library would mean it would see much less use than a GPL licensed C library, because corporations wouldn't be able to extend proprietary code off of it — not that I care about that, but the library makers often do.

            https://en.wikipedia.org/wiki/GNU_General_Public_License#Libraries — it's complicated.

            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
            #32

            As long as two binaries are compiled with the same version of the Rust compiler, they are ABI compatible.
            Even if the compiler version differs, I've found that changes to the ABI are fairly uncommon.
            Furthermore, anything exposed through the C ABI is stable, so the problem can be circumvented if needed.
            It's not the most ergonomic solution, admittedly, but with some compromises dynamic linking is perfectly feasible.

            1 Reply Last reply
            0
            • ? Guest

              While shifting to Rust might be a good idea for improving safety and performance, adopting the MIT license represents a fundamental change that will enable large tech companies to develop and distribute proprietary software based on the new MIT-licensed Core Utilities. This shift moves away from the original vision of the project which was to ensure that the software remains free and open as enshrined in the GPL's copyleft principles. The permissive nature of the MIT license also will increase fragmentation, as it allows proprietary forks that diverge from the main project. This could weaken the community-driven development model and potentially lead to incompatible versions of the software.

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

              If this happened, would Ubuntu based operating systems be impacted as well? I might start to learn Debian or LMDE if so.

              mrmakabar@slrpnk.netM 1 Reply Last reply
              0
              • T [email protected]

                Still not on Boost, unfortunately.

                mubelotix@jlai.luM This user is from outside of this forum
                mubelotix@jlai.luM This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #34

                Boost was abandoned

                T 1 Reply Last reply
                0
                • M [email protected]

                  genuinely my only problem with it is the license. I really hate how much stuff is mit or apache now. I've seen some really nice projects get taken over and privatized in the last few years and nobody has learned

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

                  sadly, i think that's exactly the reason why so many gnu coreutils/libc/compiler keep croping up: people want to get rid of the gpl as much as possible. if they could replace the linux kernel with a non gpl variant they would

                  not that the people creating the projects necessarily have this intention, but the projects are certainly being picked up and sponsored mainly for that reason

                  kittenzrulz123@lemmy.blahaj.zoneK 1 Reply Last reply
                  0
                  • S [email protected]
                    This post did not contain any content.
                    D This user is from outside of this forum
                    D This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #36

                    I dont understand the title. Rust is a language and Coreutils is a set of executables. There is a libc version written in Rust ?

                    1 Reply Last reply
                    0
                    • mubelotix@jlai.luM [email protected]

                      Boost was abandoned

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

                      Do you have any statements from the dev? Would be curious to know if there's anything that corroborates it being abandoned or on hiatus.

                      But it sure does seem that way. I remember Boost for Reddit getting updates all the time, and this one had a few in the beginning, then it just kinda stopped with bugs unresolved.

                      It's a shame, because there's a lot to like about Boost.

                      1 Reply Last reply
                      0
                      • S [email protected]
                        This post did not contain any content.
                        krolden@lemmy.mlK This user is from outside of this forum
                        krolden@lemmy.mlK This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #38

                        Fuck Ubuntu fuck MIT fuck everything

                        1 Reply Last reply
                        0
                        • A [email protected]

                          If this happened, would Ubuntu based operating systems be impacted as well? I might start to learn Debian or LMDE if so.

                          mrmakabar@slrpnk.netM This user is from outside of this forum
                          mrmakabar@slrpnk.netM This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #39

                          MIT license is still open source, so Ubuntu based operating systems can still be open source. The problem is that this makes it less needed that they have to be. However most current projects will probably stay proper open source projects and likely continue to use a better license.

                          1 Reply Last reply
                          0
                          • ? Guest

                            While shifting to Rust might be a good idea for improving safety and performance, adopting the MIT license represents a fundamental change that will enable large tech companies to develop and distribute proprietary software based on the new MIT-licensed Core Utilities. This shift moves away from the original vision of the project which was to ensure that the software remains free and open as enshrined in the GPL's copyleft principles. The permissive nature of the MIT license also will increase fragmentation, as it allows proprietary forks that diverge from the main project. This could weaken the community-driven development model and potentially lead to incompatible versions of the software.

                            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
                            #40

                            Do large tech companies contribute a lot to the GPL coreutils?

                            ? 1 Reply Last reply
                            0
                            • P [email protected]

                              Do large tech companies contribute a lot to the GPL coreutils?

                              ? Offline
                              ? Offline
                              Guest
                              wrote on last edited by
                              #41

                              Yes, they do. The GPL's copyleft clause requires companies to release the source code of any modifications they distribute, ensuring contributions back to the community. The MIT license, however, allows proprietary forks without this obligation.

                              P 1 Reply Last reply
                              0
                              • ? Guest

                                Yes, they do. The GPL's copyleft clause requires companies to release the source code of any modifications they distribute, ensuring contributions back to the community. The MIT license, however, allows proprietary forks without this obligation.

                                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
                                #42

                                I know, but do they? Has big tech contributed to the code base significantly for coreutils specifically? sed and awk or ls has been the same as long as I remember, utf8 support has been added, but I doubt apple or google was behind that.

                                C ? 2 Replies Last reply
                                0
                                • S [email protected]
                                  This post did not contain any content.
                                  adrianhooves@lemmy.todayA This user is from outside of this forum
                                  adrianhooves@lemmy.todayA This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #43

                                  oh no!! wait but that means that xubuntu will still be around?? because as far as i know, xfce has some elements that use agpl and that would interfere with some rust code and would hurt xubuntu. would that make xubuntu stop existing?

                                  F ferk@lemmy.mlF 2 Replies Last reply
                                  0
                                  • S [email protected]
                                    This post did not contain any content.
                                    adrianhooves@lemmy.todayA This user is from outside of this forum
                                    adrianhooves@lemmy.todayA This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #44

                                    this means ubuntu is no longer a linux distro?? because if linux hardcore people think that linux is kernel+gnu then that means both android and ubuntu are not distros!! i believe the opposite, linux kernel? linux distro of course!! and ubuntu is the android of linux distros even if android is a linux distro itself

                                    ? ? D 3 Replies Last reply
                                    0
                                    • P [email protected]

                                      I know, but do they? Has big tech contributed to the code base significantly for coreutils specifically? sed and awk or ls has been the same as long as I remember, utf8 support has been added, but I doubt apple or google was behind that.

                                      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
                                      #45

                                      Intel does a lot, by which I mean they sponsor people to do it. Changing user facing utils is a bad idea as it breaks things. Although I don’t really keep up with it I know they’ve been changing things like the number of levels of pages etc, over time moving to sysd instead of init and stuff but the latter was a decade ago now. You can probably trace the maintainer to who sponsors them from here: https://en.m.wikipedia.org/wiki/Linux_kernel_version_history

                                      P 1 Reply Last reply
                                      0
                                      • P [email protected]

                                        I know, but do they? Has big tech contributed to the code base significantly for coreutils specifically? sed and awk or ls has been the same as long as I remember, utf8 support has been added, but I doubt apple or google was behind that.

                                        ? Offline
                                        ? Offline
                                        Guest
                                        wrote on last edited by
                                        #46

                                        As far as I’m aware, contributions from major corporations to GNU Core Utilities specifically (e.g. sed, awk, ls) have been limited. Most development has historically come from the GNU community and individual contributors. For example, UTF-8 support was likely added through community efforts rather than corporate involvement. However, as these corporations increasingly back projects moving away from GNU and the GPL, their intent to leverage the permissive nature of the MIT license becomes evident. Should 'uutils' gain widespread adoption, it would inevitably lead to a significant shift in governance.

                                        1 Reply Last reply
                                        0
                                        • adrianhooves@lemmy.todayA [email protected]

                                          this means ubuntu is no longer a linux distro?? because if linux hardcore people think that linux is kernel+gnu then that means both android and ubuntu are not distros!! i believe the opposite, linux kernel? linux distro of course!! and ubuntu is the android of linux distros even if android is a linux distro itself

                                          ? Offline
                                          ? Offline
                                          Guest
                                          wrote on last edited by
                                          #47

                                          Ubuntu is no longer GNU/Linux distro. Linux is just a kernel.:)

                                          L 1 Reply Last reply
                                          0
                                          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