In my new job Im being transfered to a Rust project, this video was really helpful, thanks!
@TheZazatv12 күн бұрын
This is by far the best tutorial on that topic out there. I love that you've included every use case!
@akhmad846692 ай бұрын
4:32 KEREN, hahahahahaha
@akhmad846692 ай бұрын
Thanks for the tutorial. When I learn this chapter, the concept is very similar to Typescript, we define it as "object" with curly braces and colon inside it.
@harrypotil8602 ай бұрын
This is amazing content. But 30:41 why Rust will think so ? Struct can have thousand fields ..! Compiler will check the struct too right?? Can anybody explain?
@harrypotil8602 ай бұрын
I got to know that it’s nothing to do with thousands of fields. By default struct doesn’t implement copy and that’s it. You should either implement COPY or reference.
@harrypotil8602 ай бұрын
Holy Grail ❤
@mau5mat2 ай бұрын
Incredible resource for this topic here, thank you for your time!
@Davidicus0003 ай бұрын
Very nice! Thank you.
@neilclay58353 ай бұрын
The explanation of this that I've seen.
@evlogiy4 ай бұрын
I'm starting to learn Rust and this is definitely deserve a subscription. Well explained. Thank you, sir. ❤
@samuelnjau80864 ай бұрын
You are a life saver, thanks.
@estupefatos4 ай бұрын
He teached me Rust and also how to teach. Thank you, Mr. Milford. You're a legend.
@gofudgeyourselves90244 ай бұрын
2024
@VladimirDjokic4 ай бұрын
Rustaceans don't look any further, this is the best explanation there is to rust lifetimes!!!
@justiceessiel61235 ай бұрын
if you learn golang rust is easier
@aboahmadnour5 ай бұрын
Actually it seems that Doug Milford left the channel, his latest reply was 3 years ago ! @Doug Milford where are you ?
@jmoz5 ай бұрын
Fantastic video Doug and your style is quite funny.
@OlivierGeorg6 ай бұрын
at 14:10, I had to add a "mode" parameter to to dev script: webpack-dev-server --mode development --port 9000 --open , so that that parameter could be passed to the exported function in webpack.config.js
@edgeeffect6 ай бұрын
I have to say, after over 40 years of working in the IT industry, I have never seen a conversation like this. Plenty of times techies have pulled this shit with other techies but I've never met anyone so socially incompetent that they think this would be a good way to talk to "normal people".
@dripcaraybbx6 ай бұрын
Anyone who says developers are uncreative has never heard one emphatically describe the danger of static mutables.
@mnemotronic7 ай бұрын
Why doesn't anyone talk about str as stack based like i32 etc?
@DSaad7 ай бұрын
I wish you could make more advanced Rust videos, like error handling and testing! 🙏🏼🙌🏻
@nikhilsharad95538 ай бұрын
Hey Doug, this is really helpful. Could you please make a video explaining the Smart Pointers in Rust?
@DSaad8 ай бұрын
This is the most comprehensive and clear explanation of the concept of lifetime that I have come across on KZfaq. Thanks a lot!
@smratikatiyar8 ай бұрын
watching in 2023, Doug's rust videos are so better than several paid courses
@paradoxfx8 ай бұрын
Respect!!! And thank you for the best explanation on the subject
@scottb40298 ай бұрын
I finally got it!, I literally said Holy sh*t. You program to the trait unlocked generics for me, I was working backwards. The other statement that was an epiphany for me was "Lifetimes, it's all about the references. " THANKS SO MUCH !!
@bennythetiger60528 ай бұрын
WOW, I finally undedrstand frickin lifetimes
@TrevorSullivan9 ай бұрын
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!
@njzz18019 ай бұрын
most helpful video about lifetime
@ebodshojaei49679 ай бұрын
Dear Doug, many thanks for sharing your valuable wealth of knowledge in this domain. My ambition is to hopefully learn how to build a Rust crate for my Three.js project so I'll spend the time closely following your content. Thank you and hope to see more content.
@joyboy420810 ай бұрын
Even after 3 years, this is still the best explanation there is to rust lifetimes, any chance we'll be seeing a smart pointer, declarative and procedural macros explanation?
@JitenPalaparthi10 ай бұрын
The best video on this topic
@JitenPalaparthi10 ай бұрын
Excellent
@code_marked10 ай бұрын
Man, you just answered my question 10fold. Thank you so much.
@photoniccannon211710 ай бұрын
This is one of the best videos I have ever seen on this topic. You delve into things in a "this is how you do it, and then this is why it's weird" approach, which makes far more sense to me because I can then connect the theory that follows with the behavior that I just learned. Really appreciate your approach, you just earned a sub from me.
@YuckFou0x0FFFF10 ай бұрын
Thank you for the explanation.
@samuelemmettbray11 ай бұрын
Doug? Are you still around? Could really use more of your great videos. Your's are the first videos I point people to for learning rust.
@manuelraimondi481311 ай бұрын
Really good explanations here👍
@yogitverma041011 ай бұрын
Informative!
@teamunicycle11 ай бұрын
I have just discovered your channel with this video, and found it very useful. The content is excellent, but what struck me are two things about the production: no background music - I'm hearing impaired so clarity is extra important to me; and the pacing is great, particularly because you don't edit out pauses, allowing me to follow along without having to continually pause and step back (as much). I look forward to watching more of your videos.
@Ivan-qi2du11 ай бұрын
I still don't get why explicit lifetime annotations are necessary...
@ati4388811 ай бұрын
Thanks, very impressive video.
@aeaeaaaelxndrwtnb Жыл бұрын
Thank you for all your rust content, found them quite useful in getting my bearings. Do you have any recommendations for doing 3D graphics in the browser in 2023? Seems like WebGPU is becoming more popular?
@ati43888 Жыл бұрын
thanks.
@kennethmarete5329 Жыл бұрын
Hi @Doug Milford, please create a short videos like this one on use of lambdas, closures and use of move keyword in Rust. Your content articulates concepts and am able to remember these tutorials throughout my coding sessions. I have made them my anthem. Thank you for this @Doug Milford.
@kennethmarete5329 Жыл бұрын
Awesome content, great teacher, articulate lessons, great tutorial. The best I have seen so far. Thanks Doug Milford
@kennethmarete5329 Жыл бұрын
This is the finest tutorial I have ever seen. It's well explained and illustrated with clear examples. Thank you Milford
@chucknorris7995 Жыл бұрын
I finally understand this concept! thank you so much!!!!
@theanhmai3637 Жыл бұрын
It's very clear, thank you. I am having trouble with Macros. Can you have a video to explain it?