• Eggymatrix@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    11 days ago

    I mean, have you ever looked at any low level code from any language that came out in the last 30 years? Its always C.

    • cockmushroom@reddthat.comOP
      link
      fedilink
      arrow-up
      6
      ·
      11 days ago

      Sure, but they don’t usually have the audacity to market themselves as a viable alternative and cannibalize its system interfaces (or, in this case, claim to)

      • Mia@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        9 days ago

        I’m sorry but you sound like this:

        (Not a Rust zealot to be clear, if something works and is fast enough idc what it’s written in)

          • Mia@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            9 days ago

            Mine was more of a general statement. There’s definitely some actual business logic in coreutils that can benefit from being written in a memory safe language of some kind. I find complaining about getting a simple string using C APIs on a C based OS to be a pointless critique. That’s not cannibalizing C APIs, it’s making use of the only thing that’s available.

            • cockmushroom@reddthat.comOP
              link
              fedilink
              arrow-up
              1
              ·
              9 days ago

              There’s definitely some actual business logic in coreutils that can benefit from being actually written in a memory safe language of some kind.

              so despite this not being an example of that you just had to chime in with a general statement? Why so thirsty to talk shit for no reason?

              • Mia@lemmy.blahaj.zone
                link
                fedilink
                arrow-up
                1
                ·
                9 days ago

                there’s only one person here being butthurt about this whole situation and trying to be confrontational and it ain’t me.

                coreutils has lots of stuff in it, there’s going to be trivial stuff in it as well, which has to be programmed if one wants to make a full rewrite. I don’t get what the big deal is. how is that sabotaging free software in any way?

                • cockmushroom@reddthat.comOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  9 days ago

                  You’re still doing it …

                  It’s one thing to treat open source like a giveaway and an other to treat it like infrastructure. If that difference doesn’t matter to you then there’s probably no reason to continue this conversation, but since you asked:

                  The main downside of the MIT license compared to the GPL is that it doesn’t guarantee that derivative works remain open-source. This exposes code to a few key risks:

                  • Proprietary “Forks”: Companies can take MIT code, make improvements, and sell a closed-source product without contributing anything back. This is its biggest weakness. Competitors can create modified, closed-source versions that might splinter the community and reduce its control over the project’s integrity.
                  • No Patent Protection: MIT offers no explicit patent grant, so if a user of your code is sued for patent infringement, the MIT license offers no defense.

                  The GPL’s “copyleft” policy is specifically designed to prevent these issues by ensuring that modified versions distributed to others must remain open source.

                  The good news is that code under MIT can be re-licensed as GPL by the copyright holder, but not the other way around. Unfortunately that sort of change probably won’t sit too well with uutil’s funding agreements.

                  If I were to depend on this project, 5 years from now, I’d rather not wake up to find the core contributors sold or yielded to a closed-source vendor.

                  Notice, I didn’t once go after anybody with personal attacks over this. You couldn’t seem to stop yourself.

      • Eggymatrix@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        10 days ago

        Good engeneering solutions are better than steering clear of hypocrisy. The rust zealots will happily tell you that this is just an implementation detail, YOU should write rust, because you will have no bugs, they instead need to ship, so concessions need to be made.

  • stingpie@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    11 days ago

    I’m not that well versed in rust, is this literally just wrapping the C library in rust, and calling it a rust implementation of it?

  • Mia@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    9 days ago

    To be fair, I doubt there’s much that can be done about having to use C interfaces when interacting with Linux itself.