Alien Top
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
onlinepersona@programming.dev to Rust@programming.devEnglish · 1 day ago

Memory Safety Bugs in Rust Standard Library

forge-blog.github.io

external-link
message-square
13
link
fedilink
43
external-link

Memory Safety Bugs in Rust Standard Library

forge-blog.github.io

onlinepersona@programming.dev to Rust@programming.devEnglish · 1 day ago
message-square
13
link
fedilink
Knowing What You Trust: Three patterns behind memory safety bugs we found in Rust's standard library, and why Rust's safety model still matters even though it isn't perfect.

cross-posted from: https://lemmy.bestiver.se/post/1442424

Comments

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    From The Rust Reference

    • ImgurRefugee114@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      Not quite a standard, but fair enough for colloquial usage. A bit funny that they have to explicitly define undefined.

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Yeah, they don’t define what’s “defined” behavior due to a lack of a formal standard, but there are some things they specifically want to defend against.

        There does exist a formal standard (and certified toolchain), but it’s not official as far as I’m aware.

        • BB_C@programming.dev
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          1 day ago

          but it’s not official as far as I’m aware.

          https://blog.rust-lang.org/2025/03/26/adopting-the-fls/

          https://rust-lang.github.io/fls/

          • TehPers@beehaw.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Hey this is great news! I’m surprised I hadn’t seen this before.

        • ImgurRefugee114@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Oh, I hadn’t heard of them before. Interesting. Thank you.

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 98 users / day
  • 176 users / week
  • 269 users / month
  • 1.18K users / 6 months
  • 22 local subscribers
  • 8.37K subscribers
  • 1.11K Posts
  • 4.15K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org