Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Rust in 7 Days
Rating: 3.7 out of 5(149 ratings)
871 students

Learn Rust in 7 Days

Use the full power of Rust to make fast, maintainable systems level programs in one week
Last updated 1/2019
English

What you'll learn

  • Use the Rust trait system to build super flexible types.
  • Effective ways of handling Rust Errors without Boilerplate code.
  • How pointer lifetimes keep your code effective and safe.
  • Work within the restrictions needed for pointer safety, and still achieve capable code
  • How rust programs can work with other system programs.
  • Write programs that take full advantage of multicore processors, using concurrency without the risk of data races
  • Loop on anything with the Iterator Trait
  • How to Use the Rocket web framework to build powerful websites quickly

Course content

7 sections47 lectures5h 37m total length
  • The Course Overview5:43

    Understand how this series will help you learn Rust and how to use it effectively

  • Get Rust Working on Your Machine4:19

    Without Rust working on your machine it will be hard to test it out.

       •  Download the installer

       •  Run the installer

       •  Run your first Rust program

  • Introducing Standard Rust Operators and Syntax7:16

    In order to write even the simplest program you have to understand the basic syntax

       •  Introduce functions and parameters

       •  Introduce variables and mutability

       •  Introduce printing syntax

  • Basic Loops8:54

    Looping is core to programming anything useful

       •  Introduce “Loop” keyword

       •  Introduce “for” and “while”

       •  Introduce ranges and Iterators

  • Basic Strings7:43

    Strings are a key mechanism for programs to interact with users and other programs.

       •  Learn the absolute basics on utf-8 and how rust handles that

       •  Learn about the difference between “&str” and “String”

       •  Learn to use String as function parameters

  • Structs and Methods7:26

    When dealing with complex systems it is helpful to organize your data in an orderly way

       •  Learn to define a struct

       •  Add methods to that struct.

       •  Call those methods on the struct

  • Enums and Pattern Matching9:12

    Handling data of different types can be challenging. Rust Enums provide a powerful mechanism for that.

       •  Learn to define an Enum

       •  Learn to match against different Variants

       •  Learn to add methods to the Enum

  • Result and Option Types9:02

    Error handling is tricky in any language. Rust provides two powerful classes to make that simple and safe

       •  Introduce Result and Error types

       •  Show some of their methods such as unwrap.

       •  Show how to use them in common cases

  • Assignment2:17

    Make sure you have Rust installed and working, and understand some basic syntax

       •  Write a Rust program that greets everyone mentioned in the argument list whose name begins with “W”

Requirements

  • The video is for developers who have basic knowledge of programming.

Description

The Rust programming language makes it possible to build fast reliable code, prevents segfaults, and guarantees memory safety, even while working across concurrent processes.

The course is split into seven parts, which give you a complete overview of why Rust is a great programming language. In the first couple of days, you’ll learn to install Rust on your system, discover its syntax, and see a library that utilizes the feature of trait-based generics and code reusability. 

On days 3 and 4, you’ll understand how Rust Lifetimes work by doing extensive compiler checking and learn to make your programs more interactive by accessing all the bits of the Rust environment. On day 5, you’ll learn about multithreading without data races with safe concurrency. Day 6, you’ll create a database, using your code to read and update while securing it with Bcrypt from various breaches such as SQL injection attacks. 

By the end of the course, you’ll have built a mini-bank application that tracks users’ financial transactions over time, allowing them to view their history over time.

About the Author

Matthew Stoodley is a programming enthusiast and has been really excited to learn about Rust for it’s low level power and memory safety. He mostly uses it to build board games.

If you want to try them, or you are looking for a story teller, magician, illustrator, or a web developer, you can go to his website to get to know him better.

Who this course is for:

  • The video will also appeal to developers who are using C/C++ language to write their applications.