Rust Tutorial Full Course

  Рет қаралды 554,542

Derek Banas

Derek Banas

Күн бұрын

Пікірлер: 555
@derekbanas
@derekbanas 2 жыл бұрын
MY UDEMY COURSES ARE 87.5% OFF TIL August 3rd ($9.99) ➡ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science bit.ly/Master_Python_36 ➡ New C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month bit.ly/C_Course_36
@jeekakrishna
@jeekakrishna 2 жыл бұрын
do we need to apply some coupon before purchase ?
@kia4now
@kia4now 2 жыл бұрын
Hey Derek, just wanted to say I bought your course. I didnt need it since I already know python but im curious about all the extra stuff I'll learn The main reason I bought it is because you've been so helpful over the years and your passion is what made me actually want to code
@vet4206
@vet4206 2 жыл бұрын
no ads and a full course, from a very well articulated teacher. we don't deserve you
@derekbanas
@derekbanas 2 жыл бұрын
Your appreciation is all that is required :)
@shafaghsepehr7466
@shafaghsepehr7466 Жыл бұрын
turn off your ad blocker
@AarcoQ1
@AarcoQ1 Жыл бұрын
@@shafaghsepehr7466 hahha
@shahzaibhassan6504
@shahzaibhassan6504 Жыл бұрын
@@shafaghsepehr7466 Lol
@despareint
@despareint Жыл бұрын
I don't mind the ads as long as I have an ad blocker
@christsciple
@christsciple 2 жыл бұрын
I cannot thank you and commend you enough Derek! 10 years ago I was working full time in construction and part time in landscaping and as a janitor while going to college. I was barely making enough to afford my small room and food. I came across your videos and spent every spare minute I had watching you and practicing everything you did because I loved computers, writing code, and wanted a better life for myself and my eventual family. Fast forward to today and thanks to you I am a full-time software and data engineer that also does BI consulting on the side. I have become successful enough to build a new home for my family, take care of my parents, and take care of my siblings. I haven't stopped learning (hence why I am here learning Rust!) and it's because you're a wonderful teacher that can take many complex topics and ideas and interpret them in a way that allows me and tens of thousands of others to learn and apply. Also because of you, I do everything possible to give back and teach others as best I can. Anyways, thanks for making this content and doing it without cost as you literally helped me to start a career and climb out of poverty. I owe you so much - thank you!
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for taking the time to write such a nice message and making my New Year. Congratulations on all that you accomplished and I wish you and your family all the best! Your message is the reason why I keep making videos.
@abasahmed
@abasahmed Жыл бұрын
Such an inspiration you are Derek.. may be I will find time to create a course and share my experiences
@johnbeal6592
@johnbeal6592 Жыл бұрын
How long it took you to get your first job on programming and in what language?
@VasuVanka
@VasuVanka Жыл бұрын
Thank you Derek, This is Vasu. loved your rust intro. small appreciation.
@derekbanas
@derekbanas Жыл бұрын
Thank you very much for your support! I greatly appreciate it! I'm very happy that I could help.
@martinmaurer6531
@martinmaurer6531 Жыл бұрын
Small "error" (or better way existing): Position 2:28:03, chapter Rc T, "balance < 5.00" shall be "balance < amt", otherwise error when withdrawing e.g. 6.00
@memoryman51
@memoryman51 2 жыл бұрын
I've been meaning to learn rust. Now I have an easy entry to the language. Thanks! Love your videos.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I did my best to cover the core language with a little more. I think anyone that works through this video will be able to move on to making real projects
@ItzShinePlayz
@ItzShinePlayz 2 жыл бұрын
@@derekbanas I have hard time understanding 1o1
@lol-wc3ld
@lol-wc3ld 2 жыл бұрын
also a good idea is checking out the ebook by running rustup docs -book in your terminal
@mattshu
@mattshu 2 жыл бұрын
Randomly stopping by to thank you again for your Java and C# videos from years back. You helped make programming 'click' for me
@derekbanas
@derekbanas 2 жыл бұрын
That's awesome! Congratulations on all you accomplished!
@azharuddin337
@azharuddin337 2 жыл бұрын
I have been watching Professor Derek Banas since 2010.. And now being Rust Enthusiast and learner, I want to extend sincere gratitude to your sir, Thank you for all what you do to teach us new things.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you very much :) It is my pleasure to be of help. Thank you for the nice message
@mithradates
@mithradates 2 жыл бұрын
Awesome! I used your old Rust video way back in the day when first learning Rust in 2019 and as of this month I've been a full-time Rust developer for a year so all's well that ends well. Going to let people know that you've got a new one!
@mau5atron
@mau5atron 2 жыл бұрын
What was interviewing for a Rust role like? I looked into Rust back in 2018 but didn't have enough experience with other languages to understand and be productive with it. I'm halfway through this video and feel like I could jump on a project with Rocket and start building backend web services after learning a bit of Erlang and Go.
@mithradates
@mithradates 2 жыл бұрын
@@mau5atron In my case the company was just starting to move to Rust and was looking for someone to help with that, plus I had written and recorded a lot of material here on the language so I was sort of pre-tested already. (Also helped that the company is Korean and I live in Korea)
@mau5atron
@mau5atron 2 жыл бұрын
mithradates very cool! I didn’t notice you had content on Rust in Korean. I appreciate the insight. I just subbed :)
@mithradates
@mithradates 2 жыл бұрын
@@mau5atron Thanks! There's definitely a shortage of material to learn Rust here in Korea so I've been making most of my videos in Korean (have a few English ones to add now though and are making those).
@derekbanas
@derekbanas 2 жыл бұрын
That's awesome! Congratulations on your job
@muhammadhafizuddin2965
@muhammadhafizuddin2965 10 ай бұрын
Hey derek, just wanna say you helped me so much with your videos. Back in secondary school 9 years ago, you are one of my first youtube channel that i use to learn programming. fast forward, now im working as software engineer, doing enterprise sites. Yet here i am, still learning from the same teacher. Thank you so much!!!
@verified_tinker1818
@verified_tinker1818 Жыл бұрын
For new viewers, you can add new dependencies with “cargo add”.
@KellenProctor
@KellenProctor Жыл бұрын
Great rundown of Rust!! In VSCode, Alt + Shift + up (or down) arrow key will copy a line (or highlighted lines). Then you can move the line(s) with alt + arrow keys
@andriiabramov5707
@andriiabramov5707 2 жыл бұрын
Dear Derek, I wish you all the best, Thank you for being with me for more than 8 years! I started watching your when I joined university and had almost no programming skills. And now I'm leading yet another project but I still enjoy watching your tutorials videos! With gratitude, Andrii
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for taking the time to say you have found my tutorials useful. Congratulations on all of your success! I wish you all the best!
@SandyGe
@SandyGe 2 жыл бұрын
I hecking love this tutorial! Derek, the pace for me personally is perfect!
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I'm happy I could help
@gregf3021
@gregf3021 7 ай бұрын
Seems everytime I need to learn a language I come to you Derek. Very concise and you don't take forever to get going.
@maxovicsteiner9646
@maxovicsteiner9646 2 жыл бұрын
Putting the installation part at the end of the video is a really smart move. I wish other tutorials did that too
@derekbanas
@derekbanas 2 жыл бұрын
Thanks I thought that was a good idea
@CommanderRiker0
@CommanderRiker0 11 ай бұрын
Can't tell if this is sarcasm or not
@mushinart
@mushinart 2 жыл бұрын
Finally ....i feel that i personally owe you a big one for making this particular one....im grateful for you sir ...
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I’m very happy that I could help
@joostkoch7229
@joostkoch7229 2 жыл бұрын
amazing, I used to know javascript and python quite well and this is the perfect entry to rust
@sr567
@sr567 2 жыл бұрын
Wonderful course. one suggestion: Use dim color for the hints that auto generated. it is little bit confusing whether you typed it or it is a vscode hint
@stevenw424
@stevenw424 2 жыл бұрын
Awesome Video Derek! You are always my No.1 source of picking up a new language. Once again spent a dozen hours digesting this video. I will keep upvoting and boost the youtube algorithm.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you very much :) I need help with the algorithm for sure
@axorusmt7042
@axorusmt7042 2 жыл бұрын
Bro I literally started learning rust this week. Perfect timing
@derekbanas
@derekbanas 2 жыл бұрын
Happy I could help
@mannycalavera121
@mannycalavera121 2 жыл бұрын
Just the sheer level of information and knowledge you've put out Into the world is amazing. You're truly an exceptional human being.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for the kind compliment :) I’m very lucky to be able to do this
@17ab17
@17ab17 2 жыл бұрын
I originally expected this to be a tutorial upon the game Rust. Then I thought it was a comprehensive guide to rust, the stuff that's made from oxidizing iron. Now I'm aware that this is a 2.5 hour course on coding xD
@irlshrek
@irlshrek 2 жыл бұрын
i would love more rust content! ive never been more excited about a language since I learned how to code for the first time.
@derekbanas
@derekbanas 2 жыл бұрын
I'll see what I can do about making a bigger video with some real projects next time.
@alexandros-markovits
@alexandros-markovits 2 жыл бұрын
That's an outstanding tutorial. Would gladly pay for it or additional content about rust as a course in Udemy. As always, your work is exceptional!
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for the nice compliment :)
@rafaelbachmann3619
@rafaelbachmann3619 2 жыл бұрын
Your tutorials on Java got me started on this journey around 2010. There was a long break in between, but I'm happy back at coding, in my first Rust job, and was VERY happy to see you post this. It will help many people to get started.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you and congratulations!!!
@fedeanastasis7040
@fedeanastasis7040 2 жыл бұрын
Was it hard to find the job? How was the technical interview? Also congrats
@brunobmartim
@brunobmartim Жыл бұрын
I think YT might monetize much, much more educational videos and tutorials like that. You Derek, deserve more thank a simple monetization, you deserve I title of teacher and got paid as a teacher just for videos like that. I want to thank you for this video. Seriously, my comment can’t express how much a thank you.
@tintin537
@tintin537 2 жыл бұрын
WOW, I just started to learn rust in a few weeks and suddenly Derek comes and gives a tutorial on it.
@derekbanas
@derekbanas 2 жыл бұрын
I hope it helps you on your journey :) Rust is a wonderful language!
@tintin537
@tintin537 2 жыл бұрын
@@derekbanas you're one of the best teachers I have ever seen
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for the nice compliment :) It is my pleasure to help
@JoeEnos
@JoeEnos 2 жыл бұрын
I love this style - quick and to the point, loaded with info.
@mau5atron
@mau5atron 2 жыл бұрын
Thank you Derek for making this video! Been meaning to jump into Rust again after a hiatus since 2018. I'm already halfway through it and feel pretty good about using Rust on some projects.
@derekbanas
@derekbanas 2 жыл бұрын
That's great :) I'm happy I could help
@kobibr9362
@kobibr9362 Жыл бұрын
I will tell you what. You had such an impact on my life and you keep doing it. This is an amazing human being people.
@derekbanas
@derekbanas Жыл бұрын
Thank you very much for taking the time to write such a nice message. I greatly appreciate it and I wish you all the best!
@allliver123
@allliver123 Жыл бұрын
bro making a free tutorial with no ads at all, this is epic
@MarkusBurrer
@MarkusBurrer 2 жыл бұрын
Important note: the if example you are showing is NOT an expression. It's a statement. Expressions ALWAYS return something It the Ternary Operator example you say that you don't need a semicolon after the last statement, but the true and false are actually expressions in this case. Summary: Your if example is a statement and your ternary operator example is an expression. Please don't mix this up
@containerman17
@containerman17 Жыл бұрын
Thanks!
@mojekonto9287
@mojekonto9287 2 жыл бұрын
I had a problem with the last exercise with the thread and the bank account... then I went to chatgpt, pasted my code and told it to correct it for me.... and it DID! Although it used a "move" keyword in one place, and changed the 5.0 into amt, which actually made sense :o I got blown away. Anyway, coming back to the course... it has been great! I learned quite a bit :) Woow, it took me over 10 hours over the course of a few days to complete this 2.5h course.... can't imagine how much time it took Derek to prepare it and record it for us... :o
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for taking the time to tell me it helped and for sharing your journey, which was an interesting one :)
@TurboXray
@TurboXray Жыл бұрын
This first part of the tutorial doesn't work at around 12:00 mark in the video. Rust throws a compiler error because of the missing .ok() before the .expect(). Maybe this is a version update difference to Rust since this video was made???
@manai2683
@manai2683 2 жыл бұрын
1:23:18 Can someone please explain why we need an & in front of the string literal "Batman"
@werrutkyupnext
@werrutkyupnext 2 жыл бұрын
I am currently at 1:44:05 and this Tutorial is great man!
@rayan361ify
@rayan361ify 2 жыл бұрын
Nice, I know what my Saturday is going look like. Thanks a lot Derek!!
@derekbanas
@derekbanas 2 жыл бұрын
There is a ton to learn in this video. I hope you find it useful
@thenonhuman941
@thenonhuman941 Жыл бұрын
I just watched a one minute and I already know this is what I needed!
@akagaming9431
@akagaming9431 Жыл бұрын
Just when I thought that I need to search for Rust all-in-1 video, I've found one! Thanks for uploading this 9 months ago Derek! I'm gonna catch the Rust wave.
@derekbanas
@derekbanas Жыл бұрын
It is a fantastic language with probably the best compiler ever
@franciszekadamski5037
@franciszekadamski5037 7 ай бұрын
It's easier to read thread_rng as "thread range", but I belive rng stands for "random number generator" and it's worth to mention that
@mikepettengill2706
@mikepettengill2706 2 ай бұрын
I am going to be watching this over and over and over. Thank you. Also do you have a Udemy Rust course planned? I am interested in using Rust on BBC micro and Arduino projects.
@hasansimsek1
@hasansimsek1 2 жыл бұрын
Thank you a lot Derek! Just for contribution: We can declare variables with the same name and with the same data type.
@drumdover
@drumdover 2 жыл бұрын
I love this tutorial! Thank you for all of the time and effort you put into it. Unrelated to the tutorial topic, but what keyboard are you using in this video? The alpha and return keys are soothing.
@TwinechoesEntertainment
@TwinechoesEntertainment Жыл бұрын
Did not know Joe Swanson from Family Guy knew Rust. Loved listening to every minute of it! Great tutorial!
@DheemanSaha
@DheemanSaha 2 жыл бұрын
glad to see your new video man. keep it up
@Dr.Cosmar
@Dr.Cosmar Жыл бұрын
I typically use while loops when the length or number of values is dynamic, and for loops when the length or number of values is static. Also I use them to help ensure the correct user input, and for testing parts of a function repeatedly.
@imanidioli
@imanidioli 4 ай бұрын
I enjoyed learning Rust every second of this tutorial 👌🏻
@delicate_ostrich
@delicate_ostrich Жыл бұрын
Thank you so much for this, what a fantastic introduction and primer. Will be checking out your other tutorials for sure.
@psuvlogs
@psuvlogs Жыл бұрын
Completed till 58:29 in one go, great lecture so far...
@derekbanas
@derekbanas Жыл бұрын
Thank you :) I’m happy I could help
@jawad9757
@jawad9757 Жыл бұрын
Great video as always, not entirely sure why I watched since I already know rust but I don't regret it.
@stevematdavies
@stevematdavies 2 жыл бұрын
Awesome course. One nit pick, your description of Closures is not quite right. You are illustrating a lambda or anonymous function, but a closure is merely a scope which wraps values, that can be passed into other scopes (such as a function as an argument to another function). This is largely achieved in most cases by anonymous functions but these functions are not "closures" in that they merely are functions. The actual scope they contain and give access to is what actually creates the closure (i.e. it "closes the scope in") Many languages allow this construct and many don't particularly rely on anonymous functions, but all rely on first class functions (functions that can be passes as objects). iter() is a very good example of implementing a closure, especially as you illustrated the next() function!
@johnmahugu3527
@johnmahugu3527 5 ай бұрын
Banas :D awesome thank you very much for this. i am an accomplished scientist now thanks to many of your videos.
@TomLeg
@TomLeg 2 жыл бұрын
At 50:30, you can't use .bytes() to get unicode, or it has limited value. Not sure of the Rust terminology but it should e .cahars() or .graphemes()
@mmmt
@mmmt 2 жыл бұрын
Amazing. Now please make a real world small project using rust.
@ZaheerUddin-he8zj
@ZaheerUddin-he8zj 11 ай бұрын
Best Rust learning course on KZbin. Waiting for more on Rust. Thank You @derekbanas for this awesome tutorial.
@neilclay5835
@neilclay5835 2 жыл бұрын
This is very good. My one irritation is the constant VSCode popups which pop up and distract the viewer, sometimes temporarily overwriting text that has just been written. But other than that, a great intro to this very important language, thanks.
@jboxy
@jboxy 2 жыл бұрын
Turn off autosuggestion and use Ctrl+space when u want
@neilclay5835
@neilclay5835 2 жыл бұрын
@@jboxy I'm talking about in the video, not in my editor
@jboxy
@jboxy 2 жыл бұрын
@@neilclay5835 oh lol
@adamkimberley2575
@adamkimberley2575 Жыл бұрын
It's conetent like this that makes me think that the web wasn't a mistake after all. Thank you, sir!
@someuser4166
@someuser4166 8 ай бұрын
49:15 why does str6 disappear just from having its value copied and added to?
@pheonix3869
@pheonix3869 Жыл бұрын
6:44 if the run/debug dialog still doesnt show up go to user settings and make sure you have code lens and allow breakpoints everywhere enabled
@Theely
@Theely Жыл бұрын
Every time I want to start learning Rust, I hit the same place early on that spoils the whole language for me: "do_something.expect("error type message") The only place that .expect("error type message") will EVER make sense in a program is if you actually expect something to break. Any other explanation given is the same result: a better word could have been chosen.
@arunbeckham8384
@arunbeckham8384 2 жыл бұрын
Hello Derek, where have you been these days. Finally much awaited video is out here, it's very useful for beginners
@derekbanas
@derekbanas 2 жыл бұрын
Thank you for stopping by. I'll be updating the learn in one videos that I think need a refresh. Golang is next
@arunbeckham8384
@arunbeckham8384 2 жыл бұрын
@@derekbanas oh that's great. You have already uploaded golang i suppose.
@taskak86
@taskak86 2 жыл бұрын
@derek 1:33:11 Need brackets for trait constructor. Also missing dyn keywork and sized self new trait
@justingolden21
@justingolden21 7 ай бұрын
1:31:08 I like 995 of Rust so far, but this seems super redundant. We're defining Shape which has a constructor for length and width as f32, then we're defining Rectangle which is a struct with length and width as f32, then we're implementing shapre for rectangle and we need a constructor which takes in length and width which are f32 and returns a rectangle and returns a rectnagle with the specified length and width. It shouldn't be necessary to retype "f32" and "length" and "width" and "rectangle" so many times. I wonder if it's possible to do it in a cleaner way, eg.: trait Shape { fn new(length:f32, width:f32) -> Self } struct Rectangle impl Shape { fn new(length, width) -> Self { return rectangle {length, width}; } }
@TomLeg
@TomLeg 2 жыл бұрын
At 58:36 in the discussion about vectors, First you generate a pointer to the second element of vec2, then you get() that same element. This seems like duplication. Accessing vector elements is pretty minor, but why do things twice? DRY, as they say.
@dynfoxx
@dynfoxx 2 жыл бұрын
It's get vs []. Get returns an option that's why it can be none. [] returns a reference and panics if it's out of bounds.
@TattedFaceJoey
@TattedFaceJoey 11 ай бұрын
I'm currently at 12:35. I wish you had mentioned that e.g. ': String', ': &str', 'Result', and 'msg:' were actually auto-inserted and the viewer (i.e. me) didn't need to enter them. I was following along and thought you entered them
@DJDopeB
@DJDopeB 10 ай бұрын
With it or without it I'm getting an error. Something like: expected some of 8 tokens. Not sure what it is. I'm stuck 😢
@tornoutlaw
@tornoutlaw 9 ай бұрын
@@DJDopeB Same here, probably because we installed a newer cargo/rust version and the syntax has changed since 2022. It compiled for me, when I removed `buf: `, `Result` and `msg:`. Unfortunately, this will have me look for a newer tutorial :/
@dabody123456
@dabody123456 Жыл бұрын
hey thnx for shearing the sosfullyTutorial in part "Iterators" i have understanding in compuert memory . here u get first array (1 st ) also the language didnt count from scratch /> i see in python and i'm still learning too / we do from left [ zero , one ,tow ..] its comin as *zero here in ur exmp as i'm understing . thnx for ur Tutorial agen.
@dizphunkt
@dizphunkt 2 жыл бұрын
Hey Derek, this course is absolutely fantastic! Thank you so much!
@derekbanas
@derekbanas 2 жыл бұрын
Thank you very much :) I'm happy you enjoyed it
@yuurishibuya4797
@yuurishibuya4797 11 ай бұрын
53:23 I’m still stuck on line 10 Days and line 20 Day. How did day know it’s part of days? Does rust understand English letter plurality?
@autoeggnet7192
@autoeggnet7192 Жыл бұрын
I play and learn this tutorial repeatedly but still I'm not used to RUST. Thank you for your lesson.
@maciekwojdyna2271
@maciekwojdyna2271 7 ай бұрын
You convinced me, i'll definitely dive into it, thanks Derek. Rust looks like really fun language, something low-level that i really needed, also rest api created with rust gonna be much more efficient than Python flask that im currently working in, right?
@superkruger
@superkruger 2 жыл бұрын
Massive torrent of info, great stuff! 1:55:20 should have thrown an error opening the file, but you had File::create instead of File::open
@Redyf
@Redyf Жыл бұрын
What a great instructor, your videos are amazing man. Thank you very much for uploading this
@lordmelbury7174
@lordmelbury7174 2 жыл бұрын
Why does rust analyzer highlight &i32 and &mut i32 and index ? eg 1:00:26
@yuurishibuya4797
@yuurishibuya4797 11 ай бұрын
49:42 line 26 is so counter intuitive. St6 vanishes as a side effect 😮 of copy to another string.
@kasperchristensen8416
@kasperchristensen8416 2 жыл бұрын
Glad to learn that variables in Rust are immutable by default, because God knows you use a lot of "const" declarations when writing code with C/C++ ;)
@devonoffutt3384
@devonoffutt3384 2 жыл бұрын
8:36 sooo... should I write what you wrote, or write what whatever that dumb IDE you're using autotyped? I'm using VIM, so I dont get random stuff typed out without me actually typing it.
@JesseBourretGheysen
@JesseBourretGheysen Жыл бұрын
Hugely helpful introduction to the language. Thank you
@darkknight0258
@darkknight0258 9 ай бұрын
Thanks!
@joeyvico
@joeyvico 2 жыл бұрын
Thanks for this Derek. As usual your videos are all a must watch
@texdevildog9174
@texdevildog9174 2 жыл бұрын
@1:24:40 why did the hashmap print out of order? When it printed in order the first time?
@cptmc
@cptmc Жыл бұрын
Great video as usual. And you opened yourself up for it this time, "I'd buy that for a #1!" hehe
@thisisnotok2100
@thisisnotok2100 2 жыл бұрын
wow crazy, I have been reading through the rust manual the last couple of days and this is great
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I'm happy it helped
@Axacqk
@Axacqk Жыл бұрын
The invalid index access at 1:46:59 actually doesn't compile for me - it is able to determine at compile time that it will certainly panic, so it refuses to compile. What should I #![allow()] to make it compile (and panic) just so I can experience it?
@MikeM8891
@MikeM8891 2 жыл бұрын
Is it weird that I had a big stupid smile on my face as I was learning this. Rust seems like something special and this is a great tutorial to get started!
@derekbanas
@derekbanas 2 жыл бұрын
That's great! I agree! Every language can learn something from Rust!
@ReedoTV
@ReedoTV 2 жыл бұрын
Since Rust 1.62 you can do `cargo add ` instead of manually adding it to the Cargo.toml
@derekbanas
@derekbanas 2 жыл бұрын
Yes in hindsight I wish I would have showed way more cargo commands. Now that I know people enjoy this long form, I'll cover literally everything in my next video.
@leboyoyo
@leboyoyo Жыл бұрын
I am watching the tutorial, it's really nice, there is not so much intro to Rust I also like the League of Legend Icon ;)
@YundongCai
@YundongCai Жыл бұрын
hi Derek, I got an error at "thread::spawn(|| customer(bank_ref))", VS code gives error "expected `&Arc`, found struct `Arc`". Can you please kindly help? (Line 41 at 2:31:39)
@YellowCable
@YellowCable Жыл бұрын
note: 03:00 there is no Cargo.lock until the first invocation of cargo update
@sencode589
@sencode589 2 жыл бұрын
Thanks. I learned a lot from your videos since a long time. Great tutorial 👍.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I’m glad they helped
@sugandhsai
@sugandhsai 4 ай бұрын
Hey derek you are my GOD.
@Quenjii
@Quenjii Жыл бұрын
Some good content here so thank you! However, it would be nice to cover things in order. A concept of ownership is covered only half way through a video when it's been used multiple times up to that point. There are other similar examples.
@yuurishibuya4797
@yuurishibuya4797 11 ай бұрын
40:24 isn’t alphabets inside “” string already? Why is there a need to say to string.
@madmuke
@madmuke 2 жыл бұрын
the work!!! great vid man
@peterthecoderd.1210
@peterthecoderd.1210 2 жыл бұрын
I've been waiting for this.Thanks!
@derekbanas
@derekbanas 2 жыл бұрын
Thanks :) I hope you find it useful
@ImNotActuallyChristian
@ImNotActuallyChristian Жыл бұрын
One thing I dislike about a lot of beginner tutorials for languages, is the mass importing at the beginning. I think it'd be much better to just include as things are needed rather than just stating "we'll use this at a later point"
@slodoco
@slodoco 2 жыл бұрын
At 2:29:30 I don't think the_bank argument should take a reference.
@ChessFlix
@ChessFlix 2 жыл бұрын
Thank you Derek. I really appreciate the learning material.
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I'm happy I could help
@ItsPungpond98
@ItsPungpond98 Жыл бұрын
This tutorial is like your dad teaching you how to code in Rust.
Learning Rust the wrong way - Ólafur Waage - NDC TechTown 2022
51:54
NDC Conferences
Рет қаралды 111 М.
Rust's Most Important Containers 📦 10 Useful Patterns
17:11
Code to the Moon
Рет қаралды 132 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
FULL Introduction To HTMX Using Golang
2:02:31
ThePrimeagen
Рет қаралды 407 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 332 М.
The Rust Survival Guide
12:34
Let's Get Rusty
Рет қаралды 172 М.
Rust and RAII Memory Management - Computerphile
24:22
Computerphile
Рет қаралды 237 М.
Rust Demystified 🪄 Simplifying The Toughest Parts
14:05
Code to the Moon
Рет қаралды 192 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 589 М.
Creating Your Own Programming Language - Computerphile
21:15
Computerphile
Рет қаралды 208 М.
Ruby Programming
55:30
Derek Banas
Рет қаралды 667 М.
Why I Chose Rust Over Zig
33:18
ThePrimeTime
Рет қаралды 227 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН