Rust Tutorial for Beginners - Full Course (With Notes and Project Ideas)
Вставка
- Опубліковано 9 чер 2024
- In this video, Harkirat takes you through four hours of learning rust from the basics.
It covers concepts like memory management, ownership, borrowing, structures, data types, enums, and much more.
Link to the slides of the video projects.100xdevs.com/tracks/...
Links:
Open Source Cohort: harkirat.classx.co.in/
Twitter: / kirat_tw
Linkedin: / kirat-li
Instagram: / kirat_ins
Discord: / discord
Telegram: t.me/kirat_internal_group
Timestamps:-
00:00 - Intro
00:00:20 - 1. Preface
00:03:27 - 2. Syllabus
00:09:59 - 3. Why rust? Isn't Node.js enough?
00:23:04 - 4. Initializing rust locally
00:26:48- 5.Initialising a rust project
00:30:16 - 6.VSCode setup + Hello world
00:36:27 - 7.Simple Variables in Rust
01:03:41 - 8. Conditionals, loops…
01:13:08 - 9. Functions
01:14:45 - 10.Memory Management in Rust
01:28:32 - 11. Jargon #0- Mutability
01:36:02 - 12.Jargon #1 - Stack vs heap
02:12:49 - 13. Jargon #2 - Ownership
02:45:11 - 14. Jargon #3 - Borrowing and references
03:07:12 - 15. Structs
03:14:14 - 16. Implementing structs
03:18:41 - 17. Enums
03:25:29 - 18. Pattern matching
03:30:07 - 19. Error handling
03:47:44 - 20. Option enum
03:53:57 - 21. Cargo, packages and external deps
03:59:59 - 22. Project ideas
Wow! Explained all the fundamentals of Rust very clearly and with good examples. I will definitely recommend this video to any one who would like to learn Rust.
Eagerly waiting for Part-2!!!
A slight correction : At 3:01:40 the reason behind compilation is not just that s2 and s3 are not getting used, the reason is the use of s1 ends there itself(after the declaration). That means even if you use s2 in a print statement just after borrowing and before declaring s3 (with mutable or immutable reference), the code will compile because s2 is no longer in use.
For example :
let mut s1 = String::from(“Hello”);
let s2 = &mut s1;
s2.push_str(“ world”);
let s3 = &s1;
println!(“{}”,s3);
Thanks for this video Kirat
Thanks man. You are really helping lot of ppl.
Eagerly waiting for Part-2!
Finally the wait is over!
Time to dive into the world of Rust.
Yay 🤡
This video is nothing 🫠 better learn it from documentation
Hi@@iritesh,
While documentation is definitely a valuable resource, bootcamps can offer a structured learning path, live coding examples, and a chance to ask questions directly in comment section and in discord. This can be helpful for beginners who might find documentation overwhelming at first. In the end, the best learning method depends on your individual preferences.
Don't have the time to watch it now , but this guy is doing wonders for the community , we definitely need more creators like him
Seriously ❤❤❤❤ man you dropped whole video
types cargo add rand-
"that sounds very sus"
3:56:08
Enjoyed this video. Really helps solidify concepts after reading The Rust Book
which book bro ? can you share the link
Thank you sir , I'm halfway through the video and understood everything very well. I really needed this because of an auditing contest for a project which uses rust, I'm already a solidity auditor. Thank you very much sir!
Finally someone is here to talk about Rust.
Loving the explanation at 2:17:59 😂😂😂😂
Thank you for providing this bootcamp.
We need part 2 as well. Thanks!!
You're GEM bro! Most awaited one:)
other creators just talk and give what everyone giving/ teaching, But harkirat gives what makes us out of the traffic and standalone like a pro
Thanks Harkirat sir
Please start Web3 cohort asap waiting to learn web3 in detail
Masterpiece really ❤❤❤
Really!!! really ???? its just 30 mins since the video released. 🤦
This what i was waiting for.
amazing video brother, explained the concepts really well.
waiting for part 2.
Finally rust comes into the picture. Thank you Harkirat Bhaiya
Thank U..!! waiting for this eagerly...😊
Thank you kirat for such amazing rust bootcamp
Waiting for next part..thanks a lot
Cool!!!! Waiting for part 2
You can see the Hardwork this dude putting , other youtubers and reels banane wale aayenge ezysnippit type ke Rust ki ek line explain karenge views ke liye air cool banenge bass . Jo community me trye work hai vo sirf Harkirat bhaiya hi kar rahe hai filhal baaki sabh bakchod hai .
Oh my god. I just literally rambling on UA-cam for Rust and Just Harkirat's Video came :-)))))))))))))))))))))))))))))))))))
Great Video.. Explanations are really great
God, I have been waiting for this forever! 😭 Let's go!
bro is just man of words 🫡
Pls release part 2 man
Killed it at 2:44:13
Actually, it's a great video, sir, expecting the next part
awesome video, thanks
please!! Rust-2 needed greatly explained
10/10 for story telling
Harkirat i love your content the way you explain things are incredible, thank you soo much for this video, you did a great job, eagerly waiting for the next part, love from Pakistan❤
it's really great i am looking forward to next part please make 2nd part and in more depth i like to learn rust from you in more depth thank you for providing this cool content .
Please keep posting always educational or noneduational u provide motivation to all students
Expecting a continuation video😊
Great tutorials
Great video!! waiting for web3 cohort.
Please part 2, gone through the video after reading documentation and got my concept more firm.
1:03:00
unwrap() function extracts the value from Enums like Result or Option.
If the variant is Ok (or Some) then there must be some value and we can use the unwrap() to extract the value out of it.
But if the variant is Err (or None), then the thread would rather panic. So when we're confident that the variant type would be either Ok (in case of Result) or Some (in case of Option), then only we should use unwrap(). Otherwise it's recommended to handle this case either using `match` statement or using
`if let Some(c) = greeting.chars().nth(1000) {
println!("{}", c);
} else {
println!("index out of bound");
}`
great video very informative just finished watching and coding
Happy coding😇
Hey harkirat ! Just wanted to know when are you launching cohort 3 for web3 and ai ?
awesome 👏 👏 👏 👏
@Harkirat can you make a video on not 0 to 50 lpa but how we can get our first 6 to 10 lpa job through your 100xdev cohort..
Only halfway through it, the relationship context is hilarious 😂😂
Hell yaaa thats what i wanted !!!
LFG!🚀
Want the part 2 soon!!
What did we learn at 2:44:12 was the best part of the video.
waiting for part-2!
I love it
Bhaiya love your video please make video on git and github and teach us how things actually work in real world company.
One of the images used in this video's thumbnail uses the image/logo of the Rust(Video Game). Just an info for the creator in case of a copyright strike.
Other than that Amazing content. Keep it GOING!!
Hey harkirat, I tried the other left topics from rust book but they are bit hard to understand .please bring other part of rust video soon. 🙏
Waiting for the next part
3:20 cohort when will it come ,after the web2 cohort2 or anytime before that??? we really want to get in the web3 learning from the right person is the right way but have been waiting now for a long time web2 may end after4-5 months thats a lot of time to wait please clear the date of web3 cohort so we decide whether to buy someone elses course or wait for u provided the launch is soon??
Try to go through the rust book, it is well writtern and should let you get up and running quickly!
can you drop the name of the book?
@@mohd.tabishkhan4868 the rust book just google, it will have 20 chapters
i can't post the link my comment is getting deleted
1:08:34 the right syntax is ans.push(char);
One of the tough and challenging language to learn is considered now in 2024 and onwards
Good for malware development and many more
Kirat bhaiya literally has that karpathy effect on me, where he drops something educational and i jump straight on to it...
When will be the web3 bootcamp? Will there be no Web Dev cohort 3?
Let's go!
🔥🔥🔥
you're awesome
when will you release part 2 sir and yeah Rehana se door rehna hai,got it
Wooah🎉❤
Do something like this for Golang as well
Hi Harkirat,
I wanted to know if someone work as individual contractor and then start with multiple job part time. This will count in experience when you start applying for normal jobs full time jobs .
Sir it's valid for beginners the person don't have any programming knowledge
Nope it's not beginner friendly it's for senior devs who already have knowledge about programming languages or have experience working in tech
If you want to learn rust as your first programming language then it's your choice but if you want to get a job as a rust developer as fresher then it's not for you
Why the heck u want to learn rust then??? Go for js or any other languages like java
chaddi mei moot dega bhai jaake C sikh pehle fir Java ya Javascript. Rust krenge yeh starting mei wahhhh
first learn c
Are you going to teach us ETH/EVM compatible blockchain development or Purely Core development on Solana for the upcoming Web 3 cohort?
This Week will now be completely Utilized!
Boss level
Waiting for Part 2 of the Rust
1:47 I need that buzz lightyear
Never thought learning Rust would be this much fun! XD. #rihanarules
nice example for ownership xD
Golang would have been better but thanks for the upcoming rust playlist
harkirath bhaiya what is your opinion on golang?
What did we learn at the end guys? RIhana is *****!!
Gem content
Hiii man can you give a industry lvl data science roadmap/ resources or your course
Wowowowo
Part 2 plz
Sir when will you launch the web3 cohort?
C or zig are tough as rust ..? 0:36 please reply
Thanks a lot ❤
Which vscode theme does u use?
Brother. Thanks for the video, wating for web3 cohort? Please give some updates 🔥🚀
Any plans to continue? Or just upload and forgot
Plz upload part2
need part 2
please try to upload second video also. i will complete this video for sure
🚀
Please upload part 2
Hey hkirat, suggest some good channels and accounts in Twitter or discord channels so that we are up to date in the technology and knowledge.
can we know when is the web3 cohert?
I would be really great if you can make a video for scripting with python/golang for DevOps and developers
waiting for part 2