• Leaflet@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    2 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
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 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
        ·
        2 months ago

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