theory@feddit.uk to Programmer Humor@programming.dev · 2 years agoToo close to homefeddit.ukimagemessage-square23fedilinkarrow-up19arrow-down11
arrow-up18arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor@programming.dev · 2 years agomessage-square23fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up1·2 years 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·2 years agoWe have pointers in Rust, too :) see documentation
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up1·2 years 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.