Linux people doing Linux things, it seems.

  • rhabarbaOP
    link
    fedilink
    arrow-up
    6
    arrow-down
    3
    ·
    12 days ago

    I understand the reluctance but it feels to me like arguing “we should just stick with COBOL because it works.”

    For those depending on COBOL code that does the job and has been doing it just well for a few decades, there are approximately zero good reasons to not stick with it.

    • linearchaos@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      12 days ago
      1. Eventually all the people who know and are good at cobol will die.
      2. A while before that happens, the people who know it will continually demand more money for their rare skills.
      3. Eventually, the cobol systems out there will need to interface new systems in some way it wasn’t designed to and it’ll be more expensive to shoehorn the remote system than to let the ancient beast retire.
      • mryessir@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        11 days ago

        Even if, we are talking about the Linux kernel. Our entire ecosystem builds upon C. People choosing C for new projects because it is the common denominator.

        If Rust should be adopted in the kernel faster, patches should be send which comment how each line addresses issues of memory management solved and elaborations for rust specific patterns unfamiliar to a C dev.

        Lurkers will pick up Rust that way as well.

        Each Rust dev had to pick it up and therefore should be able to enable other - probably more experienced - Linux kernel hacker to provide reviewable patches.

        It shouldn’t be the other way around, else you are just stepping on the efforts the other human provided to that project.

        • linearchaos@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 days ago

          I’m not against Rust. I’d like to see something less dangerous with memory than C, but I don’t think it’s time yet for the kernel to leave C.

          It’s pretty clean, stable, it’s working well at the moment and the C language (or variants of it) is/are still actively used everywhere. I think the kernel universally going Rust will be a long road of everything under the sun going there first before it’s ported in earnest.

          • nous@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            11 days ago

            The goal ATM is simply to allow people to write new drivers in rust, not convert the whole kernel to rust. It will be a very long time, before more core parts would be allowed to be written in rust let alone rewriting any existing core kernel code. Which is all fine as new drivers are a large part where bugs are added - older parts have had a long time for bugs to be found and fixed and so it is far less important to need to rewrite them.

            • Auli@lemmy.ca
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 days ago

              Yes there is never old code with bugs that have been sitting there for decades.

    • ayyy@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      11 days ago

      Does it count as “doing it well” when every release has fixes for previous releases’ memory bugs?