• nothacking
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Same for C, & yields a pointer to a value, and * allows you to access the data. (For rust people, a pointer is like a reference with looser type checking)

      • nothacking
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        I doubt many people have ever use that or any of the other low level memory API. The main appeal of rust is not having to do that.

        • Aloso@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Sure, but raw pointers and unsafe Rust are still covered in the official learning material, so I assume that most Rust devs know about raw pointers.