theory@feddit.uk to Programmer Humor@programming.dev · 1 year agoToo close to homefeddit.ukimagemessage-square26fedilinkarrow-up148arrow-down11
arrow-up147arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor@programming.dev · 1 year agomessage-square26fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up2·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-up1·1 year agoWe have pointers in Rust, too :) see documentation
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up2·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.
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.