theory@feddit.uk to Programmer Humor · 1 year agoToo close to homefeddit.ukimagemessage-square37fedilinkarrow-up1557arrow-down111cross-posted to: [email protected]
arrow-up1546arrow-down1imageToo close to homefeddit.uktheory@feddit.uk to Programmer Humor · 1 year agomessage-square37fedilinkcross-posted to: [email protected]
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-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-squareAlosolinkfedilinkEnglisharrow-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.