Linux people doing Linux things, it seems.

  • De_Narm@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    3
    ·
    3 months ago

    The kernel is probably too large to rewrite the whole thing at once. This could lead to a future without any new C kernel devs, leading to stagnation, while the Rust kernel could be many years away from being finished. (Assuming we actually move away from C.)

    At that point you might as well just start an entirely new kernel and hope it is good enough to eventually replace the Linux one once all devs are gone. Kinda the X11 and wayland thing.

    • qprimed@lemmy.ml
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      9
      ·
      edit-2
      3 months ago

      the Rust kernel could be many years away from being finished.

      the number I saw floating around was 3 years to production useful. regardless, C’s end days as the go-to, large systems level language are drawing nigh.

      edit: tear

      • ijhoo@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        3 months ago

        I think this number is overblown. Production useful doesn’t have to mean 1:1.

        Running it without all graphics drivers would be fine for server use. Also, not all filesystems need to be ported: basic ones should be enough for start. But not only servers, home routers run Linux kernel…

        If every OEM starts contributing their drivers in rust, this could move quickly…

    • pete_the_cat@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I agree. C isn’t going anywhere anytime soon, but if we don’t start modernizing the kernel now we could end up with a future like the US government is in where all critical systems run on COBOL code and no one wants to touch it for the fear of breaking everything.

      I’m not sure if it was in my above post or not, but the article said we should start modernizing the kernel now before someone does to Linux what Linux did to Unix.

      Redox OS already exists and is functional (meaning it boots and has a GUI, but it’s lacking in various aspects), from what I understand it’s pretty much Linux/Unix rewritten entirely in Rust and looks pretty promising. In 5 or so years it could be a competitor with BSD and then overtake Linux once it has a proven track record.