Linux people doing Linux things, it seems.

  • linearchaos@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months 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
      ·
      2 months 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
        ·
        2 months ago

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