Learn Rust in 7 Days [Video]

More Information
  • 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

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.

All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/-Learn-Rust-in-7-Days

Style and Approach

This course takes the approach that some things are easier to learn once a foundation is in place, and in Rust that foundation is “traits”. Each section builds on the last until at the end of the course we will have built a parcel tracker application, using Rust’s ability to integrate with the whole system.

  • 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
Course Length 5 hours 38 minutes
ISBN 9781789805499
Date Of Publication 30 Dec 2018


Matthew Stoodley

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: visit his website https://storyfeet.com/