• The_Decryptor@aussie.zone
        link
        fedilink
        English
        arrow-up
        18
        ·
        edit-2
        3 days ago

        Sudo is worth redoing regardless of language.

        Or move away from it entirely, e.g. to something like doas which OpenBSD migrated to a decade ago.

    • badbytes@lemmy.world
      link
      fedilink
      arrow-up
      22
      ·
      3 days ago

      Its a big debate/ discussion lately, as rust has some safety bits built-in that make it safer than C. So tools are getting ported.

        • Lehmanator@programming.dev
          link
          fedilink
          English
          arrow-up
          42
          arrow-down
          2
          ·
          3 days ago

          Few reasons, some less valid than others.

          • replaces GPL license with more permissive one
          • wasnt broke dont fix
          • missing some configuration features of base sudo
          • C people feeling threatened by rust
          • people hate rust’s overzealous stans
          • rust community is pretty queer, so being anti-rust is a nice proxy for anti-lgbtq
          • InternetCitizen2@lemmy.world
            link
            fedilink
            English
            arrow-up
            29
            ·
            3 days ago

            replaces GPL license with more permissive one

            Honestly I think this is a rather big deal. It leaves our project open to just being made closed source / justifies not contributing back from big companies.

            • lengau@midwest.social
              link
              fedilink
              arrow-up
              6
              ·
              3 days ago

              The original Sudo is licensed under a complex web of MIT-like licenses. sudo-rs is dual-licensed under the MIT license and Apache 2.

          • 8uurg@lemmy.world
            link
            fedilink
            arrow-up
            13
            ·
            3 days ago
            • wasnt broke dont fix

            Sadly, security issues are still being found in sudo, so wasn’t broke isn’t entirely true. Though, whether or not Rust prevents a given security issue is strongly dependent on the kind of issue. Security issues arising from logical errors usually don’t get caught, there is only a guarantee for memory management issues.

            • missing some configuration features of base sudo

            One of the things sudo-rs does is implement only a subset of features to decrease the attack surface. A recent security issue did not affect sudo-rs because they simply did not implement the feature that had the (logic) bug. As with many things this is a trade-off.

          • Ŝan@piefed.zip
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            2
            ·
            3 days ago

            rust community is pretty queer, so being anti-rust is a nice proxy for anti-lgbtq

            New to me; is þis recent? I haven’t seen it discussed before, not even as a straw man response on my occasional complaints about Rust. Is þe Rust community demonstrably more queer þan oþer PL communities? Are þere anti-queer PL’s?

            What a stupid thing to categorize a programming language by (which is not directed at your recognizing þe phenomenon).

            • pohart@programming.dev
              link
              fedilink
              arrow-up
              5
              ·
              3 days ago

              It’s not new and it doesn’t have a lot to do with rust really. Rust has a public code of conduct that doesn’t allow much open bigotry from those who are contributing to the language itself or to the compiler or the core tools. Some people really hate this.

        • badbytes@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          3 days ago

          Just GreyBeards having discussions, sometimes heated. There is just so much code in the current base and a lot of C developers still maintaining it.

    • TeddE@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      3 days ago

      Honestly - even if there were no other practical benefit to the code base - having a new language to recode everything in is healthy for programmers - it gets newer engineers excited.

    • Khleedril@cyberplace.social
      link
      fedilink
      arrow-up
      8
      ·
      3 days ago

      @chronicledmonocle @cm0002 The real answer is that some people just want something to do.

      The more philosophical answer is that after C (circa 1960) there have been lots of developments in programming languages, both translated and compiled. Rust is epochal in that it takes all the best features and has the right defaults based on 50 years experience. Most notably it is the first language which understands the code it is compiling, and is thus able to see errors and make deep optimizations…