Behold, a Linux maintainer openly admitting to attempting to sabotage the entire Rust for Linux project:

https://lwn.net/ml/all/[email protected]/

The good news is this doesn’t affect drm/asahi, our GPU driver. The bad news is it does affect all the other drivers we’re (re)writing in Rust, two so far with a third one coming.

Another choice quote, calling R4L “cancer”: https://lore.kernel.org/lkml/[email protected]/

Personally, I would consider this grounds for removal of Christoph from the Linux project on Code of Conduct violation grounds, but sadly I doubt much will happen other than draining a lot of people’s energy and will to continue the project until Linus says “fuck you” or something.

As for how to move forward, if I were one of the Rust maintainers, I would just merge the patch (which does not touch code formally maintained by the dissenter). Either Linus takes the pull, and whatever Christoph says is irrelevant, or he doesn’t, and R4L dies. Everything else is a waste of everyone’s time and energy.

Edit: Sent in my 2 cents: https://lore.kernel.org/rust-for-linux/[email protected]/T/#m1944b6d485070970e359bbc7baa71b04c86a30af

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    15
    arrow-down
    4
    ·
    14 小时前

    In this thread, much the same as in any discussion of the topic, we learn that Rust is vital to the survival of the Linux kernel and we’re surely doomed without it, and that the absence of languages other than C in the Linux kernel is the only thing preventing the demons of chaos from arising to tear our souls to shreds and we must remain pure.

    • MadhuGururajan@programming.dev
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      14 小时前

      looks like a lot of people want to die on the C programming hill. Cannot blame them, they have no will or ability to keep learning in an industry that *checks notes* …asks you to keep learning!

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        3
        ·
        10 小时前

        C is much simpler from a language perspective. It doesn’t have safety rails but it also has a lower learning curve assuming you understand computer hardware.

        • MadhuGururajan@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          ·
          6 小时前

          There are some warts of C that I feel Rust addresses very well. Mainly extensible type system that is not bad like C++. Secondly cargo. Building and packaging just feels wrong in C.

          Only one place where C is still better than Rust: Rust does not have a well defined standard ABI. Hence every project compiles everything from source and link statically. Whereas with C we have a standard ABI that can allow for dynamic linking.

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          9
          arrow-down
          2
          ·
          8 小时前

          C is simpler in the way that a motorbike is simpler than a car. Simplicity isn’t the only criterion or we would write everything in assembly which is really simple.

          • qaz@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            6 小时前

            Assembly wouldn’t be viable because it requires rewriting for every architecture, C is the closest to assembly there is while still working on all architectures.

        • Kissaki@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 小时前

          Does the Linux Kernel use simple C though?

          I think and assume they use enforced guidelines, custom types and tooling to make it workable. By that point C is no longer simple. You extended the language to make it safe, and ended up with the same complexity.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      10 小时前

      Honestly both takes a bad. On the one hand you should be open to new idea but on the other it is wise to stick with old and tested.

      Rust is still a lot newer and less well tested. It isn’t going to replace C any time soon but it is cool that we have some Rust code in the kernel.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 小时前

          Poorly written code causes security problems regardless. C code written these days follows proper security practices so it is less of an issue. Its the random code from 2005 you need to be worried about.

      • Kissaki@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        8 小时前

        I’m very skeptical of sticking to “old and tested” without reasoning.

        If you’re talking about the implementation, if they’re making changes it’s no longer “well tested”. If it’s undocumented, it’s not approachable. If you’re talking about toolchain, if the old is unapproachable because of inherent toolchain barriers, and custom toolchain dialects, I think it’s good to question.

        There may also be something to say about them struggling to get new contributors and maintainers (from what I heard/read).