While Linux 7.0 is the next kernel version solely over Linus Torvalds’ numbering preference, there is a notable symbolic change that was sent in overnight for this new kernel merge window: formally concluding the “Rust experiment” with upstream kernel developers now in acceptance that Rust for the Linux kernel is here to stay.

The patch was talked about back in December that the Rust experiment is over and it’s here to stay. There are already uses for Rust in production environments, some Linux distributions shipping with Rust kernel code, and millions of Android devices also using it.

  • wonderingwanderer@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    20 hours ago

    It does sound interesting, but I was mostly joking just to extend the copypasta.

    I don’t know enough about programming to know whether it’s even suitable for writing a kernel. As far as I’m aware, Lua is mostly used for embedding scripts like in games, but the engines themselves are better written in C or Rust. I would assume a similar concept applies for writing a Kernel.

    Perhaps it would have made more sense if I said Fortran or PS-Algol. It would have been more clear that it was a shitpost

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      Lua doesn’t have capabilities for direct access to the memory and such, and those would need to be added by either embedding Lua in C or modifying the interpreter, which is, of course, written in C. So it’s indeed mostly for scripting. Although there’s a game engine/framework Löve, where the entire game can be written in Lua.

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      I expect it’s not suited for kernel, yeah, but it sounds like a fun thing to try other than for kernel stuff