“Rust’s compiler prevents common bugs” So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    36
    arrow-down
    1
    ·
    4 days ago

    I don’t agree with /u/red-crayon-scribbles ’ approach to memory safety, but what you’re saying isn’t entirely true either.

    It is possible to manipulate memory in ways that do not conform to Rust’s lifecycle/ownership model. In theory, this can even be done correctly.

    The problem is that in practice, this leads to the following, many of which were committed by some of the most highly skilled C developers alive, including major kernel contributors:

    https://xeiaso.net/blog/series/no-way-to-prevent-this/

    • Midnitte@beehaw.org
      link
      fedilink
      English
      arrow-up
      18
      ·
      3 days ago

      …echoing statements expressed by hundreds of thousands of programmers who use the only language where 90% of the world’s memory safety vulnerabilities have occurred in the last 50 years, and whose projects are 20 times more likely to have security vulnerabilities.

      ooof.