Use the full power of Rust to make fast, maintainable systems level programs in one week
About This Video
Learn to write libraries and programs, that take advantage of rusts Traits to give them great flexibility
Build a Rust application called MiniBank that allows users to view their accounts and make payments to each other
Increase your confidence in understanding lifetimes and the borrow checker
In Detail
The Rust programming language makes it possible to …
Learn Rust in 7 Days
Video description
Use the full power of Rust to make fast, maintainable systems level programs in one week
About This Video
Learn to write libraries and programs, that take advantage of rusts Traits to give them great flexibility
Build a Rust application called MiniBank that allows users to view their accounts and make payments to each other
Increase your confidence in understanding lifetimes and the borrow checker
In Detail
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.
Audience
The video is for developers who have basic knowledge of programming. The video will also appeal to developers who are using C/C++ language to write their applications. No knowledge of the Rust language expected.
Chapter 1 : Getting Started with Basic Tools and Syntax
The Course Overview
Get Rust Working on Your Machine
Introducing Standard Rust Operators and Syntax
Basic Loops
Basic Strings
Structs and Methods
Enums and Pattern Matching
Result and Option Types
Assignment
Chapter 2 : Traits
Introduction to Traits
Using Other People’s Libraries
Defining Our Own Traits
Accepting Generic Parameters
Generic Structs
Generic Iterators
Useful traits
Error Handling with the from Trait
Documenting and Publishing Your Library
Assignment
Chapter 3 : Lifetimes
Why Lifetimes Matter?
Passing a Borrow Forward
Stack versus Heap - Box and the Deref Trait
The Static Lifetime
Reference Counting
Assignment
Chapter 4 : The Program Environment
Environment Variables
Calling Other Programs
Piping Between Other Programs
Files Access
Assignment
Chapter 5 : Threads and Channels
Threads
Channels
Mutexes
Thread Pools and Worker
Rayon for Embarrassingly Parallel Problems
Assignment
Chapter 6 : Databases
Introduction to SQLite
Secure Passwords
Adding to the Database
Retrieving from the Database
Assignment
Chapter 7 : Building Our Database into an Online Banks
Introduction to Rocket
HTML Templates with Maud
Managing Sessions
Web Login
Accessing Sessions
Assignment
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept