• verdigris@lemmy.ml
    link
    fedilink
    arrow-up
    38
    arrow-down
    3
    ·
    2 days ago

    To be fair, I’m not sure how “I will do everything in my power to oppose this” is the anti-Rust side “work[ing] towards some resolution”…

    • Gayhitler@lemmy.ml
      link
      fedilink
      English
      arrow-up
      32
      arrow-down
      3
      ·
      2 days ago

      That’s tame for the kernel mailing list lol.

      The context is that hellwig doesn’t want another maintainer or deal with a split codebase in the dma subsystem which I honestly agree with.

      If I were a maintainer in that position I’d be barring the doors too. It’s not a driver for some esoteric realtek wireless card or something.

      Even if I didn’t agree with that position it’s normal to only post on the kernel mailing list about shit you actually care deeply about because it’s public and aside from all your fellow devs taking the time to read what you wrote, psychotic nerds like myself watch it and will try to read the tea leaves too!

      • FooBarrington@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        edit-2
        2 days ago

        If I were a maintainer in that position I’d be barring the doors too. It’s not a driver for some esoteric realtek wireless card or something.

        This effectively kills R4L. If they can’t include Rust Interfaces for important subsystems, each driver written in Rust that uses these subsystems has to separately track all the Subsystem Interfaces, leading to lots of extra work for no benefit.

        If this is the approach Linux takes, they should just cancel R4L completely.

      • verdigris@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        Sure, I don’t think it’s like toxic or anything, but I also understand why Martin viewed the situation as an impasse requiring a decision from on high. Also, from my limited understanding it sounds like the new code was in a sequestered rust-only section of the dma subsystem, so I’m not clear on exactly what new burdens were being placed on the C dma maintainers.

        • Gayhitler@lemmy.ml
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          2 days ago

          My understanding is that the rust code in question implemented parts of the c dma interface so that rust programs could use that instead of the c dma interface.

          I’m out in the world, not sitting in front of a computer with the source open so that guess will have to do for now.

          The most immediate problem with having two different dma interfaces is that now you have two maintainers and an extra step at best when making any changes.

      • FooBarrington@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        3
        ·
        2 days ago

        This creates a lot of extra work for no benefit, as every driver that needs DMA would have to include their own copy of the DMA stuff.

        • uis@lemm.ee
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 day ago

          They still can share code. Just not maintained by dma.

          • FooBarrington@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            1 day ago

            Nobody asked for the code to be maintained by DMA. The maintainer blocked a PR outside his subsystem, and even if it was part of his subsystem, the R4L approach is that C developers can break Rust code however they want.

            Literally nobody suggested that the DMA maintainers should maintain Rust code.

      • verdigris@lemmy.ml
        link
        fedilink
        arrow-up
        13
        arrow-down
        3
        ·
        2 days ago

        If you read the article, the main issue is not the fact that it’s Rust itself, but that it’s a second language entering the codebase. There’s definitely some validity to the argument.

        My personal view is that any C developer who doesn’t want to learn Rust is going to kick themselves once they do.

        • jol@discuss.tchncs.de
          link
          fedilink
          arrow-up
          7
          ·
          2 days ago

          They specifically name and shame rust as the shiny new language of the day. It does make it seem like a personal grudge against rust specifically.

        • droplet6585@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          the main issue is

          Sure. But I’ve seen quite a bit of push back against rust from these sorts even outside the kernel.