What an absolute shitshow

  • garbage_world@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    8
    ·
    6 hours ago

    Rust is faster and easier to develop in than C. It’s also safer.

    What’s wrong with the uutils license?

    • vala@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      29
      arrow-down
      3
      ·
      edit-2
      6 hours ago

      Rust is absolutely not faster or easier than C. It’s safer but that’s it.

      The issue with the rust utils license is that its MIT. Which many people see as vastly inferior to GPL. This is a very big deal to people who believe in the GPL.

      • tempest@lemmy.ca
        link
        fedilink
        arrow-up
        13
        arrow-down
        4
        ·
        6 hours ago

        It is definitely easier.

        Don’t try and tell me cargo is not easier than fucking around with the C/CPP build slop I’ve had to screw around with over the years.

        The coreutils license is bullshit but let’s not pretend languages have not improved in 50 years.

        • verdare@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 hours ago

          Yeah, the only real issue I have with the “rewrite it in Rust” approach is the absolute plague of permissive licensing. It is much easier to write safe, correct code in Rust.

        • Hack3900@lemy.lol
          link
          fedilink
          arrow-up
          3
          ·
          5 hours ago

          I think it depends on the project, when writing cp you’re not really messing around with libraries so good ol make is fine

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        5 hours ago

        Rust is absolutely not faster or easier than C. It’s safer but that’s it.

        Depends on what you mean by “easier”. It is easier to write safe code in Rust.

        • MonkderVierte@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          Depends on what you do, really.

          Dangers of this project:

          • compatibility in edge-cases
          • experts of their tool vs. jokel of all
          • maturity of the code
          • scope creep
          • thingsiplay@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            5 hours ago

            No, it does not depend on what I do. In Rust it is by definition easier to write safe code than in C.

            • MonkderVierte@lemmy.zip
              link
              fedilink
              arrow-up
              3
              ·
              5 hours ago

              Sure does. If the tool was used for 50 years and 1000s times checked (also by criminals), your reimplementarion will not be safer for a whole while, memory safety or not. Especially with that huge scope.

              • thingsiplay@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                4 hours ago

                Ehm, thats not what I said? Let try me again: If you write code in C and in Rust, both spend about 5 years time and check them equally often, with equally amount of experience, then it is by default easier to write the safe code in Rust. Because Rust is safe by default.

                If you compare a new project to an old project, that has nothing to do with my statement.

                  • thingsiplay@lemmy.ml
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    4 hours ago

                    The statement I was referring to and answering to wasn’t in context. It was an absolute statement about the language itself:

                    Rust is absolutely not faster or easier than C. It’s safer but that’s it.

                    I am not suggesting that throwing decades old tested and developed code is immediately safer than rewriting it from scratch. Sometimes a rewrite (be it in same language or different) might result in better code, given time. But that is not what I was replying and discussing to.