Linux people doing Linux things, it seems.

  • nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    41
    ·
    3 months ago

    One detail about Rust in the kernel that often gets overlooked: the Linux kernel supports arches to which Rust has never been ported. Most of these are marginal (hppa, alpha, m68k—itanium was also on this list), but there are people out there who still use them and may be concerned about their future. As long as Rust remains in device drivers only this isn’t a major issue, but if it penetrates further into the kernel, these arches will have to be desupported.

    (Gentoo has a special profile “feature” called “wd40” for these arches, which is how I was aware of their lack of Rust support. It’s interesting to look at the number and types of packages it masks. Lotta python there, and it looks like gnome is effectively a no-go.)

    • gh0stcassette@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      26
      ·
      3 months ago

      It seems like gcc rust would pretty much fix that issue, since soon gcc will be able to compile rust for any architecture gcc supports.

      • nyan@sh.itjust.works
        link
        fedilink
        arrow-up
        11
        ·
        3 months ago

        Assuming that it works out, yes, this might fix the problem. On the other hand, I remember gcj, which kind of quietly vanished after a while, so I prefer to reserve judgement until gcc’s Rust implementation is ready for production use.

    • pbsds@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      3 months ago

      The gccrust and rustc frontend for gcc projects aim to address that.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 months ago

      Or wait for rust to support the extra languages. With LLVM adding new architectures or projects like gccrs. But all of these options are a way out and rust will remain device driver only for a long time I suspect - it is still experimental after all. I would hope that as rust in the kernel matures so do the available architectures that rust supports.