• Rust will save Linux from C’s inherent security weaknesses.
  • Linux, faced with a flood of AI-discovered security problems, could use the help.
  • Going forward, more and more Linux code will be written in Rust.
  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago
    • He described new C “guards” and scoped locks inspired by Rust

    In other words, the improved safety will sometimes come from Rust code, and sometimes from C code. The important point being that safer practices are becoming more common now that Rust has called attention to them.

    • jimmy90@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      improved safety will ALWAYS come from rust code and SOMETIMES come from C code with AI help or these new magical unicorn C coders that have suddenly learned how to manage memory (etc etc) now that rust has appeared

      yeah right

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      now that Rust has called attention to them.

      More like now that Rust is embarrassing C.

      A common pattern. GCC’s error messages only got good once Clang embarrassed it.

      • jsnfwlr@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Isnt this the way of all technology?

        for N=1; N<∞; N++ {
        
        Thing N is released. It's new and innovative, and addresses all the problems with Thing N-1. 
        
        It gains popularity until it becomes defacto standard, in the process forcing Thing N-1 to adopt a lot of Thing N's new features.
        
        After a while the developers reduce or stop the innovation because their product is #1 and has no real competition, until Thing N+1 is released.
        
        }
        

        We’ve seen this with mobile phones, social networks, frontend frameworks, programming languages, cars, fridges, you name it