The post mentions data or research on how rust usage in is resulting in fewer errors in comparison to C. Anyone aware of good sources for that?

  • robinm
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    This post from 2022 was very interesting:

    There are approximately 1.5 million total lines of Rust code in AOSP across new functionality and components […] These are low-level components that require a systems language which otherwise would have been implemented in C++.

    To date, there have been zero memory safety vulnerabilities discovered in Android’s Rust code.

    https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html

    • maegul (he/they)@lemmy.mlOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      Definitely interesting!

      From the end of the article:

      As Android migrates away from C/C++ to Java/Kotlin/Rust, we expect the number of memory safety vulnerabilities to continue to fall.

      So have Google continued this and are generally pushing rust? With interest and support from Google, I’d imagine that’d flow into more contributions and financials etc.