Rust Programming Course for Beginners – Tutorial
Learn the Rust programming language in this course for beginners.
✏️ Shaun Hamilton created this course.
💻 Rust Template used in video:
⭐️ Resources ⭐️
🔗 Slides:
🔗 Article version:
🔗 Rust in Replit Course:
Thanks to Replit for providing a grant that made this course possible.
⭐️ Course Contents ⭐️
⌨️ (00:00) Course Introduction
⌨️ (01:16) Rust Overview
⌨️ (02:00) Initialising the CLI Calculator
⌨️ (04:25) Handling Environment Arguments
⌨️ (09:00) Understanding the nth Method
⌨️ (16:00) Parsing Strings into Floats
⌨️ (18:05) Declaring a Function
⌨️ (18:30) If Statements
⌨️ (21:20) Implicit Returns
⌨️ (22:25) Parsing String into Char
⌨️ (23:20) Formatting Output
⌨️ (25:20) Match Control Flow
⌨️ (27:05) Panicking!
⌨️ (28:30) Building a Release
⌨️ (29:30) Initialising the Image Combiner
⌨️ (30:00) Creating Args Module
⌨️ (31:08) Structs
⌨️ (32:30) Declaring the New Module
⌨️ (33:20) Private vs Public
⌨️ (34:30) Implementing the New Function
⌨️ (36:40) Deriving the Debug Trait
⌨️ (37:40) Using get_nth_arg in Struct
⌨️ (38:57) External Crates
⌨️ (39:52) Decoding Images
⌨️ (43:15) Destructuring Tuples
⌨️ (43:56) Importing Missing Types
⌨️ (44:35) Handling Format Errors with Result
⌨️ (46:00) Enums
⌨️ (47:20) Resizing Images
⌨️ (55:00) FloatingImage Struct
⌨️ (56:35) Buffers with Vecs
⌨️ (58:15) TryInto Conversions
⌨️ (1:00:05) Deriving Debug for Enums
⌨️ (1:00:40) Running the Code with Images
⌨️ (1:02:25) Combining the Image Pixels
⌨️ (1:11:20) Understanding Borrows and References
⌨️ (1:12:15) Creating Methods
⌨️ (1:15:20) Error Propagation
⌨️ (1:15:53) Saving the New Image
⌨️ (1:17:30) Using the Image Combiner
⌨️ (1:18:20) Better Error Handling
🎉 Thanks to our Champion and Sponsor supporters:
👾 Raymond Odero
👾 Agustín Kussrow
👾 aldo ferretti
👾 Otis Morgan
👾 DeezMaster
—
Learn to code for free and get a developer job:
Read hundreds of articles on programming:
And subscribe for new videos on technology every day:
#Rust #Programming #Beginners #Tutorial
learn rust
[vid_tags]
I'm looking for a Rust developer, part-time or full-time, contract-based work. We can do 85EUR/hour.
subtitles at 1:02:11 a little sus
Audio 🙁 …..
Amazing, thanks!
Should be called… 'Introduction to Rust for developers'.
Idk why, but I got errors in the final code. I even copied the code from the website.
I fixed it by deleting 'use args::Args;' and deleting the 'println' statement after defining args. I also had to add '#[derive(Debug)]' to the ImageDataErrors
strange…
terrible tutorial. Painful waste of time watching you show every way the program will fail, just show how to make it work.
I can't seem to figure out an error that I'm getting with the save_buffer_with_format method. It's saying that it is an IoError and is expecting a buffer size much larger than what the output.data size is. Any clue how to fix this?
speak louder pls, but amazing thank you!
The sound is really too low and the tone very flat, impossible to follow, too bad
Audio is too low. Had to look elsewhere
the audio sucks
why is the code different in repl and github for image_combine part. Where can I get the source code
audio makes this unusable without headphones
in the calculator tutorial, you said we cannot access `args.nth(2)` instead we used `args.nth(0)`. However in image tutorial, you wrote a function `get_nth_arg` and we access n'th arg like `args().nth(n)` ?
Hope there will be a zero to hero fashion Rust course in the future preferably not targeted at web3 peasants.
Great course, thank you. My only issue is the audio is too low to play through my speakers and the static hurts my ears with headphones. I normally watch courses at least twice, but I don't think I can with this one. I don't know much about fixing audio like this, but if you could re-upload with better audio that would be amazing.
Dude looks like Brackeys!
¡Gracias!
Horrible audio
https://www.youtube.com/watch?v=zF34dRivLOw&ab_channel=TraversyMedia
Thank you so much and please more Rust content again.
This video is not so beginner friendly first of all, too basic
and voice is not so clear
please make another video that make much more sense better than this
I wish this guy spoke lauder
I really wish you wouldn't teach people to ignore errors and unwrap directly. You could be using proper error handling on those nth calls instead. Bad habits stick.
I cant hear anything. Please turn up the volume.
46:22
been waiting for this forever, thanks for the value you guys are adding.
It's nice and all, but how is it a course for *beginners*? It probably is a master class or a tutorial.
The code doesn't work. You guys should look into it. ,
If you have insomnia. Watch this video.
More rust please
Thanks you guys for the tutorial, we really do appreciate free tuts. But come on. Horrendous audio for 2022. Sounds like 2006 audio. Tutorials shouldn't be allowed (even for free) if the audio is going to be poor. All you need to do is use AirPods (or similar) and you have automatic noise cancellation and clean and clear audio.
Cool tutorial. Thank you very much
Also why are you naming user defined structs the same as the one defined in the standard library? This is a really BAD idea.
Extremely quiet audio…
38:46 not working 2021 -12-28 remeber put in args.rs module #[derive(Debug)] just rigth before pub struct Args { … }
This is great, especially if you already know Rust to some degree. It's probably not the right course for a beginner. You already need to know what Option, Result and enums are in order to follow along. Probably would be good to introduce those more explicitly.
Thank you so much!
I am waiting for the Elixir Programming Language tutorial
When the instructor introduces a programming language by using concepts that haven't been introduced yet. I'm sure Shaun is knowledgeable, but I feel that this course could've been done much better for beginners. Or, change the title of the video to suit the content.
That's great ,pls make more rust tutorial for beginners and intermediate