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. Linus responds to Hellwig - "the pull request you objected to DID NOT TOUCH THE DMA LAYER AT ALL... if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG."

Linus responds to Hellwig - "the pull request you objected to DID NOT TOUCH THE DMA LAYER AT ALL... if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG."

Scheduled Pinned Locked Moved Linux
84 Posts 48 Posters 519 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.
  • semperverus@lemmy.worldS [email protected]

    Rust is great, but you are not thinking from a long-term project perspective. Rust is safer, but Linux needs to be maintainable or it dies.

    Based on what you're saying, the only way its going to reasonably be converted to Rust is if someone forks Linux and matches all the changes in C as they happen but converts it all to Rust. Once its all converted and maintainability has been proven, a merge request would need to be made.

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

    That is not how it will happen, if it ever fully converts at all.

    Rust will first be added in a way that allows it to run on top of existing C code. That is what we are seeing here with Rust being used to write drivers.

    As sub-systems get overhauled and replaced, sometimes Rust will be chosen as the language to do that. In these cases, a sub-system or module will be written in Rust and both C code and Rust code will use it (call into it).

    The above is how the Linux kernel may migrate to Rust (or mostly Rust) over time.

    As devs get more comfortable, there may be some areas of the kernel that mix C and Rust. This is likely to be less common and is probably the most difficult to maintain.

    Nobody wants to rewrite working, solid kernel modules in Rust though. So, it seems very likely that the kernel will remain mostly C for a long, long time. There are no doubt a few areas though where Rust will really shine

    No need for a fork or a rewrite.

    1 Reply Last reply
    0
    • J [email protected]

      Yea but if someone uses those bindings then you can't just not support it.

      By the time this code gets into a large scale production system it will be 2029. That is when the bugs will come in if someone leveraged the Rust bindings.

      You can ask the big company users at that time to contribute their fixes upstream, but if they get resistance because they have relatively junior Rust devs trying to push up changes that only a handful of maintainers understand, the company will just stop upstreaming their changes.

      The primary concern that a major open source project like this will have is that the major contributors will decide that interacting with it is more trouble than it is worth. That is how open source projects move to being passion projects and then die when the passion dies.

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

      Instead of thinking about the bindings as part of the sub-system, think of them as part of the driver. That is what Linus is saying here.

      The Rust code will be maintained, by those writing Rust code. By those writing the drivers. These are not junior people.

      Except the bindings are written so that they can be used not just by this driver but others as well.

      If companies write crappy code that calls into these bindings, that is nothing new. They do that today with C. Like C, the code will not be accepted if crappy and / or there is nobody credible to maintain it.

      None of this is a good argument for not letting these bindings in.

      1 Reply Last reply
      0
      • J [email protected]

        Yea and if the Rust developers don't show up to the show? Rust is a baby and it has done so little on its own. This isn't a neat little side project, this is code that a major vendor will want to take up and will demand be maintained. There are implications on a global scale.

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

        This is such a red herring.

        The Rust side we are talking about here have been involved for years. They have written amazing code (eg. Apple Silicon GPU drivers). There is an official Fedora spin based on their work.

        What makes you think any of that is going to go away?

        In fact, this whole incident shows their depth as the project lead quit Linux in disgust and was quickly replaced with another talented, dedicated, and proven developer.

        There is a lot more drive-by C code you should worry about.

        1 Reply Last reply
        0
        • F [email protected]

          A lot of people commenting on this seem to have gaps in their knowledge of what happened. I highly recommend reading the linked email, as it is both short and has valuable context.

          cypherpunks@lemmy.mlC This user is from outside of this forum
          cypherpunks@lemmy.mlC This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #75

          A lot of people commenting on this seem to have gaps in their knowledge of what happened

          We're in a Linus-email-🍿-thread, so that kind of goes without saying doesn't it? 😂

          1 Reply Last reply
          0
          • A [email protected]

            Yah took him long enough and should have never got to this point. Now we have lost a contributer.

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

            We've lost two this week

            1 Reply Last reply
            0
            • T [email protected]

              Are we hating on Linus here or agreeing with him? I'm so out of the loop.

              czele@lemmy.worldC This user is from outside of this forum
              czele@lemmy.worldC This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #77

              Excuse me sir why would You ever disagree with our king linus

              1 Reply Last reply
              0
              • S [email protected]

                I really appreciated him saying 'I don't want yes men, I need people to call me on my bullshit, but I'm calling you out on yours'.

                I read through the next few replies, and it seems like the anti-rust maintainer just has an axe to grind and can't stand people working in a language they don't understand.

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

                He understands Rust and claims to like it. He simply disagrees with the decision to have a mixed language kernel and is trying to unilaterally stop it from happening.

                1 Reply Last reply
                0
                • patatahooligan@lemmy.worldP [email protected]

                  How many months should he have waited for an authoritative response?

                  Well, Marcan should wait as long as feels right to him. As I said previously, I'm pretty sure he was already pissed off about previous R4L issues and he didn't quit because of this alone. I want to be clear that I'm commenting solely on the expectation of a swifter response from leadership in the original email thread and not on Marcan's decision to step down, which I can't be the judge of.

                  So, I expect people in places of power to take their time when they respond publicly to issues like this, for various reasons. Eg:

                  • they might try to resolve things in private first (seems to be the case)
                  • they might want to discuss with their peers to double check their decision making and to take collective action, this is especially true if the CoC committee gets involved
                  • they might want to chime in when people have calmed down and they expect to be able to have meaningful conversations with them

                  At the very least, I would have waited to see what happens with the patches if I were in his position. The review process, which kept going in the meantime, essentially sets a timer for a decision to be made. In the end, Hellwig's objections would either be acknowledged as blocking or they would be ignored. In any case there would have been a clear stance from the project's leadership. It makes sense to me to wait for this inevitable outcome before making a committal decision such as stepping down.

                  princessnorah@lemmy.blahaj.zoneP This user is from outside of this forum
                  princessnorah@lemmy.blahaj.zoneP This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #79

                  Here's the thing though, is Marcan got called out (rightfully) for his shit by Linus, but Linus could have called out Hellwig in the same email. The lack of that, to my reading, felt like implicit support of Hellwig's position to me, and I can see why Marcan would have felt the same way.

                  In saying that, it would also be fair for Linus to not "give in to the pressure" of Marcan's actions on social media and basically given him what he wanted.

                  1 Reply Last reply
                  0
                  • semperverus@lemmy.worldS [email protected]

                    It appears so now, yes, but when the drama initially came out it sounded like they were asking for a tiny amount of rust in the kernel to make it work, or if not rust, changing the C to tailor it specifically to the rust. Which I think is a reasonable thing to be concerned about from a maintainability perspective long-term, especially if the rust developers decide to leave randomly (Hector's abrupt quitting over this very issue is a prime example).

                    princessnorah@lemmy.blahaj.zoneP This user is from outside of this forum
                    princessnorah@lemmy.blahaj.zoneP This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #80

                    A bunch of people were trying to make that argument to explain Hellwig's disagreement, but it was never the case. His argument amounted to "you can't make create unified code to reference mine, you must have each driver maintain its own independent calls to my code".

                    1 Reply Last reply
                    0
                    • O [email protected]

                      You mean the operating system with a cuckold license? Nothx

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

                      I'm personally not a fan of permissible licenses, but you don't need to bring your fetishes up in every conversation.

                      1 Reply Last reply
                      0
                      • T [email protected]

                        Are we hating on Linus here or agreeing with him? I'm so out of the loop.

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

                        He has very solidly worded points and correct analysis of the problem. 100% agree with what was written by Linus.

                        1 Reply Last reply
                        0
                        • semperverus@lemmy.worldS [email protected]

                          Rust is great, but you are not thinking from a long-term project perspective. Rust is safer, but Linux needs to be maintainable or it dies.

                          Based on what you're saying, the only way its going to reasonably be converted to Rust is if someone forks Linux and matches all the changes in C as they happen but converts it all to Rust. Once its all converted and maintainability has been proven, a merge request would need to be made.

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

                          I can't fathom how do you mean Rust is not maintainable. If anything for a new programmer C code is much more mind boggling than Rust.

                          Writing in Rust might make it much more maintainable.

                          semperverus@lemmy.worldS 1 Reply Last reply
                          0
                          • R [email protected]

                            I can't fathom how do you mean Rust is not maintainable. If anything for a new programmer C code is much more mind boggling than Rust.

                            Writing in Rust might make it much more maintainable.

                            semperverus@lemmy.worldS This user is from outside of this forum
                            semperverus@lemmy.worldS This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #84

                            See this is the problem with Rust people, they always misconstrue you saying "mixing two languages together makes a project less maintainable" to mean "rust is unmaintainable."

                            This is why the disagreement between Hector and Christoph happened in the first place.

                            Do better, reddit_sux

                            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