• PlexSheep@infosec.pub
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    3 days ago

    I found the study: https://doi.org/10.1145/3551349.3559494

    It’s open access, short, and really well written. Was a primary source of my bachelor’s thesis.

    Figure 2 for the lazy people:

    The results of this study suggest that rust programs can be a bit slower, or nearly match the performance of C programs on x86-64, and that the runtime checks play a big role in this dynamic.

    • trevor (he/they)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Thanks for sharing! Bounds checks are a fair critique. The Rust Performance Book suggests that bounds checking has little performance impact compared to many other factors that you could optimize out, but it’s certainly not zero performance impact, as I initially claimed.