Alex Gaynor recently announced he is formally stepping down as one of the maintainers of the Rust for Linux kernel code with the removal patch now queued for merging in Linux 6.19.

Alex Gaynor was one of the original developers to experiment with Rust code for Linux kernel modules. He’s drifted away from Rust Linux kernel development for a while due to lack of time and is now formally stepping down as a listed co-maintainer of the Rust code. After Wedson Almeida Filho stepped down last year as a Rust co-maintainer, this now leaves Rust For Linux project leader Miguel Ojeda as the sole official maintainer of the code while there are several Rust code reviewers.

  • ISO@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    3 hours ago

    I think it’s time for this instance to consider introducing a filter where users have to choose a language they know (any language), and then have to answer easy questions about it (in a specific way), before being able to post here.

    It can be limited to specific posts, to limit the false-negative filtering of genuine discourse.

    This should help with bots, or worse, actual humans who accepted being shaped into acting like ones. The line separating the two has become very thin anyway, given the prevalence of LLM use, both automatic AND manual.

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    35
    arrow-down
    2
    ·
    17 hours ago

    In this thread: people who believe the myth of the safe C programmer. The one who has memorized the spec and is able to hold endless context in their brain while writing code. They themselves are C compilers.

    • eleijeep@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      3 hours ago

      the myth of the safe C programmer

      I learnt C around about 1997 and I’ve used it off and on professionally since about 2006. I am not a myth, and there are many others like me.

      What do you want me to write?

      • ISO@lemmy.zip
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        3 hours ago

        Can you point to relevant non-trivial public work of yours that has zero CVE’s?

        The more you learn and know, the more you refrain from making such statements. This is universally applicable, and not limited to C or programming. And that’s what makes your “story” suspect.

        Or maybe it’s a reading comprehension issue.


        I used to write non-trivial C code myself btw.

        • eleijeep@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          3 hours ago

          That’s quite an insulting insinuation, and no, I’m not going to doxx myself on my pseudonymous piefed account.

          What do you want me to write?

          • ISO@lemmy.zip
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            edit-2
            2 hours ago

            Super-human claims require evidence. And asking for that evidence is not an insult.

    • 0xDEADBEEFCAFE@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      ·
      15 hours ago

      You’re kidding yourself if you think most people in this thread are actually programmers. Most people here wouldn’t know the difference between C and Rust code if they saw it, let alone be able to write anything in either language.

      • jasory@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        15 hours ago

        I think that there are certain attitudes that mainly occur to people outside the domain. Like how people endlessly shit on open-source projects, but few of those people are ever actually at the wheel of one.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    22
    ·
    18 hours ago

    If only there were a few alternatives to Rust for system development with a syntax that isn’t a marriage of flesh between OCaml and C. Unfortunately none exists, because if I say otherwise, rustacerans will accuse me of “FUDposting”, and some will even try to dig up some dirt about me, to ruin my life and to ultimately force me off the web, because shame is good, except if they’re the target of said shame.

    So we’re left with a language that:

    • Was marketed as a functional programming language until people started to “FUDpost” about how functional programming has its own issues (optimization, etc.), so the Rust team quickly tried to course correct and market it as a “multi paradigm” language. It is “FUD” if you ask why it’s still const by default. If only Oracle found out about this tactic, to market Java as a “multi paradigm programming language”, because you can just “opt out from OOP aspects”, then tell its usiers that “packaging classes are just good practice”.
    • Makes many optimizations very ugly if not impossible.
    • Makes memory unsafe operations ugly, to “disintensivise the programmer from them”.
    • Has a pretty toxic userbase, which is only being called out by Lunduke-style toxic morons with anti-woke brainrot, and for the wrong reasons. No, the problem isn’t that many people in the Rust community are often trans, and that the code of conduct aren’t a selection of Bible-verses, but that a portion of Rust users weaponize callouts, with this callout weaponization actually coming from 4chan and other sites that pioneered networked harassment.
    • fruitcantfly@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      9 hours ago

      I’m surprised that you didn’t mention Zig. It seems to me to be much more popular than either C3 or D’s “better C” mode.

      It is “FUD” if you ask why it’s still const by default.

      I’d be curious if you could show any examples of people asking why Rust is const by default being accused of spreading “FUD”. I wasn’t able to find any such examples myself, but I did find threads like this one and this one, that were both quite amiable.

      But I also don’t see why it would be an issue to bring up Rust’s functional-programming roots, though as you say the language did change quite a lot during its early development, and before release 1.0. IIRC, the first compiler was even implemented in OCaml. The language’s Wikipedia page goes into more detail, for anyone interested. Or you could read this thread in /r/rust, where a bunch of Rust users try to bury that sordid history by bringing it to light

      Makes memory unsafe operations ugly, to “disintensivise the programmer from them”.

      From what I’ve seen, most unsafe rust code doesn’t look much different compared to safe rust code. See for example the Vec implementation, which contains a bunch of unsafe blocks. Which makes sense, since it only adds a few extra capabilities compared to safe rust. You can end up with gnarly code of course, but that’s true of any non-trivial language. Your code could also get ugly if you try to be extremely granular with unsafe blocks, but that’s more of a style issue, and poor style can make code in any language look ugly.

      Has a pretty toxic userbase

      At this point it feels like an overwhelming majority of the toxicity comes from non-serious critics of Rust. Case in point, many of the posts in this thread

      • macniel@feddit.org
        link
        fedilink
        arrow-up
        3
        arrow-down
        14
        ·
        19 hours ago

        Mostly because of the mindset of the developers that want to memory safe everything regardless of being ABI or just API compatible.

        • NotSteve_@piefed.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 hours ago

          What if the ABI/API compatibility stays the same? I don’t really follow Linux development that closely but has that been an issue with the current progress made with Rust in Linux?

          I don’t write Rust but I don’t really see the problem as long as things are tested properly and development moves slow enough as to not break things

          • macniel@feddit.org
            link
            fedilink
            arrow-up
            1
            arrow-down
            2
            ·
            6 hours ago

            If it stays compatible, and the same licensing model sure, I can deal with it. But it wont (as demonstrated uutils breaking ubuntu updates because of timestamp shenanigans) and certainly won’t as already demonstrated with any rust rewrite (moving the License from GPL to MIT.)

    • Vik@lemmy.world
      link
      fedilink
      English
      arrow-up
      71
      ·
      edit-2
      1 day ago

      it’s funny that Linus doesn’t think of rust as a tumor, but rather acknowledges that more and more code in the kernel will be written in rust. this was just over a week ago.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    7
    arrow-down
    68
    ·
    edit-2
    1 day ago

    Understandable. I’d have been admitted to the asylum (again) after just a few hours of ‘working’ with Rust.

    What? Rust syntax is fucking awful. Ugly, unlogical, unreadable. The build process is fucked up as well.

    • Snarwin@fedia.io
      link
      fedilink
      arrow-up
      8
      ·
      8 hours ago

      If you can learn to read int (*funcs[])(void*, void*), you can learn to read Rust.

    • noddy@beehaw.org
      link
      fedilink
      arrow-up
      8
      ·
      17 hours ago

      If you’re trying to write C code in Rust for a few hours you haven’t really given it a proper go. You’re just fighting the compiler. Believe me, I’ve been there. It was just the learning curve before I put aside my pride and adjusted how I wrote code.

    • cornshark@lemmy.world
      link
      fedilink
      arrow-up
      16
      arrow-down
      2
      ·
      20 hours ago

      Yeah, after working so long with the elegant simplicity of C and C++, I just don’t think I can tolerate a crappy hacked together language like Rust.

    • Mihies@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      18 hours ago

      Coming from managed languages I found syntax weird, but got more comfortable in few days 🤷‍♂️ If you’re used to one language, then usually the other looks weird initially

    • sobchak@programming.dev
      link
      fedilink
      arrow-up
      12
      ·
      23 hours ago

      It’s ok. It seems a bit ad-hoc to me compared to some of the higher-level academic languages I like (Haskell, Scala, Clojure, Chapel, etc). It’s much simpler than C++, and more expressive than C though.