theory@feddit.uk to Programmer Humor@programming.dev · 1 year agoToo close to homefeddit.ukimagemessage-square39fedilinkarrow-up1549arrow-down111
arrow-up1538arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor@programming.dev · 1 year agomessage-square39fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up4·1 year agoSame 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·1 year agoWe have pointers in Rust, too :) see documentation
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up4arrow-down1·1 year agoI 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·1 year agoSure, 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.