theory@feddit.uk to Programmer Humor@programming.dev · vor 1 JahrToo close to homefeddit.ukimagemessage-square39fedilinkarrow-up1553arrow-down111cross-posted to: memes@lemmyrs.org
arrow-up1542arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor@programming.dev · vor 1 Jahrmessage-square39fedilinkcross-posted to: memes@lemmyrs.org
minus-squarenothackinglinkfedilinkarrow-up4·vor 1 JahrSame 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)
minus-squareAloso@programming.devlinkfedilinkarrow-up6·vor 1 JahrWe have pointers in Rust, too :) see documentation
minus-squarenothackinglinkfedilinkarrow-up4arrow-down1·vor 1 JahrI 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.
minus-squareAloso@programming.devlinkfedilinkEnglisharrow-up1·vor 1 JahrSure, 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.
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)
We have pointers in Rust, too :) see documentation
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.
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.