it’s joever for Cniles (I am one of them 😔)

  • bumpusoot [any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    Instead of mass translating C code in some insane ready-to-ruin codebases project, why not just… make a compiler that addresses the vulnerabilities?

    • Speaker [e/em/eir]@hexbear.net
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 months ago

      They did, it’s called rustc. A compliant C compiler cannot escape giving a programmer unfettered access to manipulate memory, so the problem is not in the compiler. There are safe subsets of C that don’t exhibit these problems, but a compiler that only supports such a subset is no longer a C compiler.