Linux people doing Linux things, it seems.

  • nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    2 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.)

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

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

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 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.