Тёмный

Rust Ownership and Borrowing 

Doug Milford
Подписаться 8 тыс.
Просмотров 68 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 267   
@sumechans
@sumechans 4 года назад
Not sure why I bought all these tutorials from Udemy, Packt etc, when this amazing tutorial was there free for everyone. Kudos to Doug. You are an amazing instructor.
@dougmilford7814
@dougmilford7814 4 года назад
Thanks! Just wish you could have saved a few bucks. Oh well.
@sumechans
@sumechans 4 года назад
@@dougmilford7814 You mentioned on this video, tutorials on arrays, vectors and collections are coming, are they out?
@dougmilford7814
@dougmilford7814 4 года назад
@@sumechans Sorry... haven't gotten to it yet. Life gets in the way sometimes.
@sumechans
@sumechans 4 года назад
@@dougmilford7814 Definitely worth waiting. Thanks!
@canardeur8390
@canardeur8390 4 года назад
@@dougmilford7814 Timing: sometimes, when we want to start something, the great product for free is not there yet and we have no idea that this great product would come a couple of weeks later. Since we do not have the patience, we pay for courses. And yes: awesome tutorial and great job. Thanks to you, I now understand why we use references and not the objects themselves.
@yanchaoli551
@yanchaoli551 4 года назад
best rust tutorial ever, looking forward more stuff coming
@dougmilford7814
@dougmilford7814 4 года назад
Wow, quite the compliment! I'm finishing up Rust 3D Graphics in the Browser right now. Hopefully by the end of the year it'll be out. I needed a break from the bread-and-butter topics to do something a little more fun. After that I'll circle back to some important fundamental topics like concurrency and creating macros. So, yes, more stuff is coming!
@anubhav200
@anubhav200 3 года назад
exactly
@TheZazatv
@TheZazatv 4 месяца назад
This is by far the best tutorial on that topic out there. I love that you've included every use case!
@nathanielwoodbury2692
@nathanielwoodbury2692 3 года назад
Holy crap it has never felt so simple. This dude is a teaching master haha
@amans6504
@amans6504 2 года назад
oh my god, never seen this much clear explanation of programming in general. Wonderful
@kennethmarete5329
@kennethmarete5329 Год назад
This is the finest tutorial I have ever seen. It's well explained and illustrated with clear examples. Thank you Milford
@danvilela
@danvilela 3 года назад
I am amazed with how can they build this kind of compiler
@estupefatos
@estupefatos 8 месяцев назад
He teached me Rust and also how to teach. Thank you, Mr. Milford. You're a legend.
@freedoompictures6839
@freedoompictures6839 Месяц назад
Concise, to the point, fun to follow and really explains the thing in whole, not bits and parts of it. Your teaching speed is calibrated ideally which makes following the course easy. Finally found a channel to follow learning Rust. Thank you!
@hamzamohd.zubair1709
@hamzamohd.zubair1709 2 года назад
You have mastered Rust as well as the art of teaching
@marcelijankowski9593
@marcelijankowski9593 3 месяца назад
In my new job Im being transfered to a Rust project, this video was really helpful, thanks!
@dimitardimitrov3421
@dimitardimitrov3421 Год назад
This is by far the best Rust tutorial series I’ve ever watched! Excellent work!
@yuong8139
@yuong8139 2 года назад
All these tutorials in rust are amazing. Your teaching is exceptionally engaging, clear and organized. You are an amazing and wonderful teacher . Thank you very much for teaching. Much appreciated.
@lukash7660
@lukash7660 Год назад
Wow! Lucky to run onto your tutorial, it makes a lot of sense compared to other Rust tutorials, great job! As a python/js developer with some knowledge of c/cpp I find that Rust combines both worlds in a unique way which somehow makes more sense than traditional concepts.
@auniquehandle
@auniquehandle Год назад
thank u ser, this is the best video on rust ownership and borrowing on the entire youtube
@abraham7966
@abraham7966 2 года назад
Very fine and well created material. Concise, straight to the point, and easy to understand. Well done, sir. Well done.
@maximodakila2873
@maximodakila2873 2 года назад
Where before I was hesitant to learn Rust because of it's high learning curve, now I am emboldened to learn it because you explain it so clearly. Thank you. Glad I stumbled upon your channel.
@OP-hw4xj
@OP-hw4xj 2 года назад
"If you cannot explain it simply enough, you do not understand it well enough", you sir most definitely understand the subject to the minute details! hats off to you for the amazing explanation!
@amidfallen
@amidfallen 2 года назад
wow! After watchin this video, the stuff with ownership and borrowing seems pretty straightforward. Thanks!
@zoidian601
@zoidian601 2 года назад
Ownership... what the ding dong is that?! But for real, great presentation. This was really clearly explained. Glad I found this channel
@bobgodwinx
@bobgodwinx 2 года назад
Thanks very much it really helped me understand the craziness behind the hood of borrowing and ownership!
@adehenry9591
@adehenry9591 Год назад
Best tutorials on rust ownership and borrowing i've seen so far....the humor made it easier too 😊
@RenaudDenis
@RenaudDenis Год назад
Great tutorial. That is easily the most troubling programming stuff I've learned in years but I think it's growing on me.
@drippedoutlawyer8166
@drippedoutlawyer8166 Месяц назад
I finally get how it works thanks to you!
@indrajitbanerjee4350
@indrajitbanerjee4350 4 года назад
Wow rust's memory management is kind of revolutionary. It feels almost unbelievable that we came this far in programming languages and took us this long to figure out the fact that it is indeed possible to define rules of a language that doesn't permit most memory issues in the first place without a runtime garbage collection. Kind of makes the subject of garbage collector moot doesn't it? C++ does a good job despite being backward compatible with C. The only issue is C++'s solutions are library features mostly and can't come close to the rust's features that have much deeper ties with the language and the compiler
@dougmilford7814
@dougmilford7814 4 года назад
Yeah, Rust really re-thought the rules and came up with something groundbreaking. That took real courage.
@rahulek914
@rahulek914 4 года назад
Very good coverage of seemingly difficult concepts. Your efforts are experienced through easy to understand samples. I suggest the topic of covering the standard library as much as you can. Thanks.
@dougmilford7814
@dougmilford7814 4 года назад
Thanks :) I appreciate the feedback. I'm currently polishing up a mini-series on doing 3D Graphics in the browser with Rust, and it should be out in the next few days. I needed to tackle something fun, but I'll be able to get back to the bread-and-butter topics (including the standard library) by next week. There's so many topics I want to cover, and only so much time. It's motivating to get messages like yours, though.
@JDalmasca
@JDalmasca Год назад
Love the enthusiasm you bring to these videos! It's really reassuring to hear you explain things as a newcomer might experience it: "What the ding-dong is that??" -- me, in the future (probably)
@sgwong513
@sgwong513 Год назад
so far this is the best and crystal clear explanation for rust ownership and borrowing video that I had watched. appreciate for the hard work.
@chucknorris7995
@chucknorris7995 Год назад
I finally understand this concept! thank you so much!!!!
@KontaJapan
@KontaJapan Год назад
I finally understand ownership and borrowing, thank you!
@fbytgeek
@fbytgeek 3 года назад
Subscribed after watching just one video!! Content is of quality! Thanks a lot for your efforts! Please continue creating more content as time and circumstances permit.
@williamb.2031
@williamb.2031 4 года назад
Awesome tutorial as always! Love how your commentary has a perfect mix of technical with a hint of goofy. Always makes them fun to watch. You briefly touched on functional programming, seeing some functional programming related tutorials in Rust would be fantastic :)
@dougmilford7814
@dougmilford7814 4 года назад
This is the second request I've had regarding functional programming I had in a week. I'll go ahead and move it up the list. Thanks for watching!
@stphane
@stphane 3 года назад
Thank you for such a clear and exhaustive overview on Ownership and Borrowing concepts. Such free contents have no price and there should be as much "thank you" comments as there are thumbs-up on this video.
@ClabirdDoudou
@ClabirdDoudou 4 года назад
Thank you very much ! The quality of all your Rust tutorials is amazing.
@hamol3d
@hamol3d Год назад
One of the best Rust tutorial series I have come across. Thanks for sharing!!
@pshar2931
@pshar2931 4 года назад
Very helpful. Thanks for taking time to create such videos. I liked the way you represented the concept.
@dougmilford7814
@dougmilford7814 4 года назад
Hey, thanks for the compliment! I appreciate it :)
@cerex1273
@cerex1273 4 года назад
I got the concept reading the official rust book but your clean explanation with examples is true gold. I'm sure you spent much time creating this tutorial with passion so you deserve all my gratitude for your hard work. Thanks so much :)
@dougmilford7814
@dougmilford7814 4 года назад
Ah, thank you! Yeah, these videos are much more work intensive than they appear. This topic I spent quite some time trying to figure out how to describe it to others without confusing them more. I'm just so glad it seemed to come out well and the viewers are finding it so useful :)
@avatar098
@avatar098 4 года назад
Went on the journey to create a game entirely with Rust! Ran into your video and it totally helped me understand this!
@dougmilford7814
@dougmilford7814 4 года назад
Hey, great! I'm glad the video helped :)
@KiffinGish
@KiffinGish 4 года назад
This has to be the best explanation of ownership that I've ever seen ... it now is all suddenly making a lot of sense!
@dougmilford7814
@dougmilford7814 4 года назад
Hey, great! Yeah, tricky topic. Took me some time to wrap my head around it, too. I think it takes everyone a bit of time. Glad it's starting to click for ya :)
@KiffinGish
@KiffinGish 4 года назад
@@dougmilford7814 Your approach by handling the heap and stack separately is what helped me get a better grip on this tricky subject.
@chiwbaka
@chiwbaka 3 года назад
This guy speaks directly into my brain. It's like learning in the Matrix.
@dougmilford7814
@dougmilford7814 3 года назад
I know kung fu
@joaoguilhermejarochinskima1820
@joaoguilhermejarochinskima1820 4 года назад
A true hidden gem on youtube
@dougmilford7814
@dougmilford7814 4 года назад
Hey, thanks!
@LinuxForLife
@LinuxForLife 4 года назад
The best video I have ever seen about this topic! Thank you.
@dougmilford7814
@dougmilford7814 4 года назад
Hey, thanks!... you're very welcome :)
@skylarwapato2535
@skylarwapato2535 2 года назад
"Nobody makes the first jump" love it
@Ltsoftware3139
@Ltsoftware3139 2 года назад
This channel is underrated!
@KennethKasajian
@KennethKasajian 2 года назад
This is the type of thing that old-type C++ programmers used to do. Everyone was expected to know it, even high-level Application developers creating User Interfaces. The exception were the BASIC programmers, which is why VB became so popular
@keeganspeck
@keeganspeck 4 года назад
I don't often comment on videos, but I've watched about a dozen today on the concept of ownership/borrowing/references in Rust and yours was *by far* (and I really mean *by far*) the clearest and most effective lesson I've seen on the topic. Kudos and thanks. Seriously.
@myhendry
@myhendry 4 года назад
Gosh! Can i give 2 thumbs up?? Amazing video on Rust!!!! TQ very much Doug
@dougmilford7814
@dougmilford7814 4 года назад
I live for comments like these! I really appreciate it :)
@sudhir1274
@sudhir1274 4 года назад
The explanation of ownership and borrowing is very well explained in this tutorial. A lot of misunderstandings and misconceptions in Rust have been cleared up by viewing this tutorial. This concept is not very well explained in any other literature or tutorial. I really appreciate this whole series. One of the best tutorials on Rust in my humble opinion. I have viewed others and none are as clear and concise as this one. Thank you once again.
@dougmilford7814
@dougmilford7814 4 года назад
I truly appreciate all of the positive feedback! I don't make any money from these videos, so having others enjoy and learn from them makes me happy that I could help others learn Rust. It makes my day when I get feedback like this :)
@PoisonAlienful
@PoisonAlienful 4 года назад
THIS. IS. THE. BEST. TUTORIAL. EVER.
@dougmilford7814
@dougmilford7814 4 года назад
THANKS! STEVE! :)
@jpedrob
@jpedrob 2 года назад
Jupp. The best video on this. Thanks Doug!
@ehsankhorasani_
@ehsankhorasani_ 2 года назад
These tutorials are like a GEM. Thank you very much
@nikoicardo9474
@nikoicardo9474 2 года назад
Doug this is a great video. I like your sense of humor.
@sheikhakbar2067
@sheikhakbar2067 3 года назад
Best Rust tutorial on ownership! Watch it twice if you have to!
@andermetalbrasil
@andermetalbrasil 4 года назад
Your videos are very well explained. I'm just a beginner hobbyist programmer trying to learn the Rust language, and your videos surely are a great help. My only experience with programming is a little of GDScript, the scripting language used in Godot game engine. I'm studying Rust for about only two weeks, reading the The Rust Language Book from the official website and watching some videos about the language, and I think I'm starting to understand how borrowing and ownership works, but I'll have to practice it a lot to make it natural to me. When I think I'm ready I'll try to make a game in Rust. Thanks for your work teaching this amazing language.
@TrevorSullivan
@TrevorSullivan Год назад
This is an amazing video! Thanks for helping me understand memory management in Rust better. I'm working on my own video series on Rust, that's currently available on my channel, but I haven't covered borrowing and memory management yet. Keep up the great work, Doug!
@nickschmitt8594
@nickschmitt8594 3 года назад
26:10 putting var_a.push('a'); after var_b and var_c.... awesome explanation!! thank you!!
@MrPetzold123
@MrPetzold123 4 года назад
Best explanation of ownership and borrowing I've seen, thanks ! I'm sure this will help when "negotiating" with borrow checker next time :-).
@dougmilford7814
@dougmilford7814 4 года назад
Hey, thanks! I'm glad it was helpful :)
@pheonex4180
@pheonex4180 4 года назад
Thank you so much for your Rust tutorials. They have been extremely valuable and definitely the best I've found.
@Barskest
@Barskest 4 года назад
You mention in the video that functional programming is the way to go. I've been trying to find information about it with moderate amounts of luck, could you possibly make an introductory video explainign some of the concepts with simple examples as you do with the topic of ownership in this video? :)
@mattforrest9010
@mattforrest9010 2 года назад
Really great tutorial, way more clear than anything else I've come across
@paradoxfx
@paradoxfx Год назад
Respect!!! And thank you for the best explanation on the subject
@rogerthao588
@rogerthao588 2 года назад
This was such a helpful video. I feel like I actually understand ownership and borrowing in Rust now. Thanks Doug!
@igorkuchin9302
@igorkuchin9302 3 года назад
Thank you very much! This makes ownership and borrowing quite clear.
@lukekim825
@lukekim825 3 года назад
what a hidden gem. thank you so much for an amazing tutorial
@santerek28
@santerek28 3 года назад
really amazing ! kind of myth busting on Rust ! Thanks Doug !
@jmoz
@jmoz 9 месяцев назад
Fantastic video Doug and your style is quite funny.
@peperudpeperudski1911
@peperudpeperudski1911 4 года назад
Best explanation I’ve heard. Can’t say I care much for the web assembly gymnastics at the moment, but I really hope to hear your take on threading, async io and other features that make a language “complete”.
@omerozdemir1395
@omerozdemir1395 3 года назад
what the... you are explaining so well the ownership that it becomes easy as 2 + 2
@abhisheksinha9027
@abhisheksinha9027 3 года назад
I'll always be thankful to you 🙏
@irlshrek
@irlshrek 2 года назад
so good! cant wait to watch more of your Rust content!
@nickssmirkingrevenge
@nickssmirkingrevenge 4 года назад
Great job! You explain everything so clearly and in a really engaging manner. Thank you!
@dougmilford7814
@dougmilford7814 4 года назад
Glad you enjoyed it!
@mageprometheus
@mageprometheus 4 года назад
Perfect clarity of concept. Thank you.
@timvw01
@timvw01 2 года назад
This is great, and needs more views!
@philipjin7572
@philipjin7572 4 года назад
Thanks Doug , a very good video to explain rust key function!
@Paul-qm9om
@Paul-qm9om 3 года назад
God-tier teaching.
@Y3arin
@Y3arin 3 года назад
That was extremely helpful Doug, thanks!
@joculator9820
@joculator9820 3 года назад
Great video sir - informative and enjoyable. Thanks
@niravprajapati1267
@niravprajapati1267 2 года назад
Mind blowing 🤯! Thank you for video.
@ihasmax
@ihasmax 2 года назад
Fantastic explanation of a difficult topic in Rust. Thanks!
@idiot7leon
@idiot7leon 3 года назад
Thanks! Very clear explanation, and fun lecturing! I enjoy it very much~
@JamesColeUk
@JamesColeUk 4 года назад
This is a very clear explanation. Great job!
@dougmilford7814
@dougmilford7814 4 года назад
Ah, thank!
@shamimhussain396
@shamimhussain396 2 года назад
I think every programmer should learn rust just for the sake of learning good programming patterns and practices, even if it is not the go-to language for they do.
@sylver76
@sylver76 3 года назад
Thanks! This clears thing up a lot.
@Victoria-jq9xz
@Victoria-jq9xz 3 года назад
great tutorial, you explain things very well!
@Vierone
@Vierone 3 года назад
Thanks to you I get it better now:) and I created a video for people in my language who wants to learn ownership&borrowing as well.
@farhanyousaf5616
@farhanyousaf5616 3 года назад
Inspiring videos and fun!
@invisiblian
@invisiblian 4 года назад
great tutorial. concise and to the point. many thanks
@luknei
@luknei 4 года назад
This is GOLD!
@dougmilford7814
@dougmilford7814 4 года назад
Bling bling
@prueba875
@prueba875 Год назад
Great video! Thanks for sharing it
@h1k0usen13
@h1k0usen13 4 года назад
These videos seriously deserve more views
@dougmilford7814
@dougmilford7814 4 года назад
I've noticed a distinct pickup in the last couple of months, so that's good. Maybe RU-vid's algorithms finally picked em up.
@marevsgodzilla
@marevsgodzilla 2 года назад
Great tutorial!!! Super helpful
@lairely
@lairely 4 года назад
The best video rust tutorial we never had! If you do a course on udemy or others I'll definitely take it.
@dougmilford7814
@dougmilford7814 4 года назад
I'm happy you like them :)
@ManasTunga
@ManasTunga 3 года назад
Wow this tutorial was awesome !!!
@anuraghazra4772
@anuraghazra4772 3 года назад
Amazing video... very clear and concise. and loved the way you teach.
@preeeby
@preeeby 4 года назад
Thanks for in depth tut!
@dougmilford7814
@dougmilford7814 4 года назад
Ah, my pleasure :)
@luhem7
@luhem7 4 года назад
Thanks for making this entertaining and informative to watch!
@dougmilford7814
@dougmilford7814 4 года назад
Sure thing :)
@evangeloskolimitras5276
@evangeloskolimitras5276 2 года назад
Yeah very good rust explanation. I saw that you implement a webgl based project in the end. I guess you could start a series on webgl for beginners as well.
@catarinapedreira3231
@catarinapedreira3231 3 года назад
Amazing video, thank you so much!
@Lucas-md8gg
@Lucas-md8gg 4 года назад
Explained pretty well!
@dougmilford7814
@dougmilford7814 4 года назад
Glad it was helpful!
@MaheshCRegmi
@MaheshCRegmi 3 года назад
So quality content! I thought this was a talk in conference!
Далее
Rust Lifetimes
26:52
Просмотров 51 тыс.
Rust Generics
22:10
Просмотров 21 тыс.
Ozoda & Dilime - Lada
00:36
Просмотров 1,4 млн
Rust: A Language for the Next 40 Years - Carol Nichols
55:08
Understanding Ownership in Rust
25:30
Просмотров 257 тыс.
Rust Structs, Traits and Impl
24:53
Просмотров 33 тыс.
Learning Rust: Memory, Ownership and Borrowing
7:46
Просмотров 90 тыс.
Rust String vs str slices
14:58
Просмотров 24 тыс.
Rust Demystified 🪄 Simplifying The Toughest Parts
14:05
"Type-Driven API Design in Rust" by Will Crichton
40:57
Rust for the impatient
10:43
Просмотров 709 тыс.
Rust's Journey to Async/Await
48:46
Просмотров 86 тыс.