• lily33@lemm.ee
    link
    fedilink
    arrow-up
    19
    ·
    3 months ago

    I’m not sure where the Linux kernel part comes from, but if I open the article and search for “linux” or “kernel”, there are no matches…

    • Leaflet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      edit-2
      3 months ago

      Android uses forked versions of the Linux kernel, based on Linux LTS versions. They added in Rust support in 2019 and most new code since then has been written in Rust in order to avoid memory safety vulnerabilities. And memory safety vulnerabilities have been significantly down since 2019.

      Now that upstream Linux is adopting Rust, we should hopefully see a similar results. Though likely slower than Google (they went all-in on Rust) while upstream Linux new code will seemingly be mainly C for the foreseeable future.

      • sun_is_ra@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 months ago

        Now that upstream Linux is adopting Rust,

        is it? From what I read the old kernel developers are really opposing it

        • Leaflet@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          18
          ·
          3 months ago

          Linux support is definitely moving slower than the Rust team wants, but the team and Linus are still optimistic.