• Leaflet@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    3 个月前

    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
      6
      ·
      3 个月前

      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 个月前

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