Google has revealed that its transition to memory-safe languages such as Rust as part of its secure-by-design approach has led to the percentage of memory-safe vulnerabilities discovered in Android dropping from 76% to 24% over a period of six years. The tech giant said focusing on Safe Coding for new features not only reduces the overall security risk of a codebase, but also makes the switch

  • henfredemars
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    2 days ago

    Counter point: how has code churn varied across those years? My understanding is that changes in Android are becoming more incremental which might mean that less code is being written over time, too.

  • bamfic@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Wair what, havent done a android dev in 10 years but back then it was JVM only, java or kotlin or similar. Does android support rust now?

    • allan@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      It’s for the native stuff, in the os, I assume, not for third party development