KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 2 days agoLearning to program in rustprogramming.devvideomessage-square49fedilinkarrow-up1295arrow-down12
arrow-up1293arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 2 days agomessage-square49fedilink
minus-squareLightfire228@pawb.sociallinkfedilinkarrow-up3·edit-210 hours agoI can confirm, I’ve never used a non memory managed language, and the Rust borrow checker is a massive kick in the teeth But, the more i consider it from the perspective of memory, and pointers, the borrow checker makes a lot of sense Especially when storing references inside structs, and how mutability affects references I actually figured out i could fix a re-mutable borrow error by performing the two mutable operations in separate for loops
I can confirm, I’ve never used a non memory managed language, and the Rust borrow checker is a massive kick in the teeth
But, the more i consider it from the perspective of memory, and pointers, the borrow checker makes a lot of sense
Especially when storing references inside structs, and how mutability affects references
I actually figured out i could fix a re-mutable borrow error by performing the two mutable operations in separate for loops