• Hexarei@beehaw.org
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    10 days ago

    TL;DR: In which the author doesn’t comprehend that Rust can do everything C can do on the same hardware, and overstates the stability of C as a language, pleading sentiment over sensibility.

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      edit-2
      9 days ago

      Just to play devil’s advocate. Until rust gets a production ready GCC backend or LLVM gets more esoteric HW support there are probably some platforms that cannot run rust. That being said… realistically I think by the time rust becomes a large enough part of the kernel for it to matter the issue will have been sorted out as there are already 2 GCC implementations of rust in development…

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      The author claims to be an expert in Rust, so at least they don’t come from a standpoint of ‘I hate Rust and everyone who recommends it’ which seems to be somewhat popular

  • bookmeat@lemmynsfw.com
    link
    fedilink
    arrow-up
    21
    ·
    10 days ago

    TLDR; it’s the way we’ve always done it and there’s a lot of inertia so we won’t put in a plan for the future because that’s a lot of work.

    • Lembot_0004@discuss.online
      link
      fedilink
      arrow-up
      4
      arrow-down
      12
      ·
      10 days ago

      And that is a solid argument, to be honest. I would like to see some movement towards C++ but nobody will do that. And Rust will also be thrown out of the kernel in 10-20 releases.

      Linux stuck with C. I want Plusix, and Rustomans should think about Rustix.

        • Ŝan@piefed.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          9 days ago

          Redox is really interesting because of the architecture. I don’t care for the Rust language itself, but Redox is the most interesting kernel project going.

          The ecosystem is heavily Rust focused, but if the userspace matures enough that I can start writing projects in other languages, I’ll hop over.

  • tazeycrazy@feddit.uk
    link
    fedilink
    English
    arrow-up
    15
    ·
    9 days ago

    What is this modern programing method C. We need to get back to the purist programming language…

    Assembly /s

  • soc@programming.dev
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    4
    ·
    edit-2
    9 days ago

    Absolutely delusional.

    code that is readable, auditable, and easy to port

    Yeah C is the language that comes to everybody’s mind reading that. /s

    C’s simplicity …

    Is that simplicity currently in the room with us?

    … and widespread adoption make it the best choice for this philosophy.

    Ah, the asbestos argument.


    If people want to run the latest kernels on hardware that isn’t maintained anymore, they need to toughen up and send patches …

    … or they stick to an old kernel for their unmaintained hardware.

    Both is fine to me, but that entitled Boomer attitude of “nobody should have nice things, because that would challenge status quo” needs to die.

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 days ago

      I almost agree, but I think that supporting old hardware practically forever would be a nice thing to have.

      Luckily, it doesn’t evolve anymore and given time Rust will likely have that support if it would be necessary for its role in the kernel.

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 days ago

    The arguments are, at best, a reason not to have Rust as the primary language in the kernel. Implementing new hardware drivers or platforms is still viable even if you accept everything here.