theory@feddit.uk to Programmer Humor@programming.dev · 1 year agoToo close to homefeddit.ukimagemessage-square24fedilinkarrow-up134arrow-down11
arrow-up133arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor@programming.dev · 1 year agomessage-square24fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up1·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-up1·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.