cross-posted from: https://lemmy.world/post/25857381

Hellwig is the maintainer of the DMA subsystem. Hellwig previously blocked rust bindings for DMA code, which in part resulted in Hector Martin from stepping down as a kernel maintainer and eventually Asahi Linux as a whole.

  • jerakor@startrek.website
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    24 hours ago

    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.

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      22 hours ago

      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.