Giooschi@lemmy.world to Rust@programming.devEnglish · 24 days agoA comparison of Rust's borrow checker to the one in C#em-tg.github.ioexternal-linkmessage-square26fedilinkarrow-up158arrow-down12cross-posted to: programminglanguages@lemmit.onlinerust@lemmit.onlinerust@lemmit.online
arrow-up156arrow-down1external-linkA comparison of Rust's borrow checker to the one in C#em-tg.github.ioGiooschi@lemmy.world to Rust@programming.devEnglish · 24 days agomessage-square26fedilinkcross-posted to: programminglanguages@lemmit.onlinerust@lemmit.onlinerust@lemmit.online
minus-squareGetOffMyLan@programming.devlinkfedilinkarrow-up11·edit-224 days agoIt’s 100% not a borrow checker because c# doesn’t have borrowing. It’s just static analysis to ensure memory safety. But the author acknowledges that. It’s just checking the scopes the variables are defined in in the first example.
It’s 100% not a borrow checker because c# doesn’t have borrowing. It’s just static analysis to ensure memory safety. But the author acknowledges that.
It’s just checking the scopes the variables are defined in in the first example.