• josephc@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 hour ago

    Unlike javascript, where at least it is an interpreted language people can audit, you would have to reverse engineer these binaries to figure out what they do.

    If you cargo install something you get source code (unless the library packages a binary, but that’s the same as if it were JS or Python or C). Rust dependencies don’t become binary until the final product.

    Auditing Rust binaries isn’t much worse than auditing minified and uglified JS. I’ve done both.

    • HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      59 minutes ago

      I’d imagine Rust’s strict enforcement of a few specific patterns makes the assembly more predictable than C/++ where you can do literally anything?