Understanding basic Ownership and Borrowing in Rust

InstructorPascal Precht

Share this video with your friends

Send Tweet

In this lesson we'll briefly discuss the concept of Ownership and Borrowing in Rust, and how expressions can be passed by value and by reference.

J. Matthew
~ 4 years ago

Coming from a background primarily in JavaScript, I found this article helpful in understanding the lesson's concepts more deeply: https://blog.thoughtram.io/rust/2015/05/11/rusts-ownership-model-for-javascript-developers.html

Pascal Prechtinstructor
~ 4 years ago

Ha, funny you ran into my blog :D

There are some more here worth checking out:

  • https://blog.thoughtram.io/ownership-in-rust/
  • https://blog.thoughtram.io/string-vs-str-in-rust/
  • https://blog.thoughtram.io/references-in-rust/
J. Matthew
~ 4 years ago

Ha, funny you ran into my blog :D

Yes, not a coincidence, haha. I probably should have mentioned that I found that article via your comment on the previous video (https://egghead.io/lessons/rust-write-and-call-a-function-in-rust), which linked to your Twitter post (https://twitter.com/PascalPrecht/status/1234833467239731205), which linked to your recent article (https://blog.thoughtram.io/string-vs-str-in-rust/), which linked to your older article (https://blog.thoughtram.io/ownership-in-rust/), which linked to that article (https://blog.thoughtram.io/rust/2015/05/11/rusts-ownership-model-for-javascript-developers.html)!