Ownership & Borrowing in Rust

Brandon Wofford
16 min readFeb 22, 2024

It’s become a bit of a cliché for developers by now, but I’ve fallen in love with Rust. Being self-taught, I’ve dabbled in a bunch of languages like C#, Python, JS, Go, and so on, mostly sticking to the comfort zone of garbage-collected languages. However, I’ve always been a bit jealous of the raw performance that lower-level systems languages offer, but the horror stories about all the “foot-guns” with C++ (memory leaks, dangling…

--

--