Rust Programming Course for Beginners – Tutorial

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]

41 Replies to “Rust Programming Course for Beginners – Tutorial”

  1. 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…

  2. 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?

  3. 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)` ?

  4. 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.

  5. 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

  6. 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.

  7. 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.

  8. 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.

  9. CHITUS💙⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻ says:

    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.

Leave a Reply