Skip to content

ngsoti/rust-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Training

About

This repository contains materials for a 2-3 day Rust training course.

The training is designed not to replace The Rust Programming Language book (commonly called "the Rust book"), but rather to provide you with solid foundational knowledge. After completing this training, you'll find the Rust book easier to understand because you'll already be familiar with the core concepts.

Target Audience

This training is intended for developers who already have proficiency in at least one other programming language.

Recommended Learning Path

Learning Rust effectively requires time and practice. While this training will accelerate your learning process, please note that it alone won't make you proficient in Rust.

We recommend the following learning path:

  1. Complete this training course
  2. Utilize official rust-lang resources:
  3. Apply your knowledge by working on a small Rust project of your choice

Requirements

There is no OS requirement for this training so all examples should run on any OS/distribution combo.

  1. Install Rust by downloading the rustup package of your Linux distribution or by following instructions at: https://www.rust-lang.org/learn/get-started
  2. Install VSCode or VSCodium
  3. Install RustAnalyzer plugin (official rust-lang plugin): https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
  4. Clone this repository with git clone (so that you'll be able to refresh it easily to get all content at workshop time)
  5. Open it in VSCode
    • Optional: right-click on the README.md file in the left panel and click on Open Preview
  6. Navigate to test
    1. You are supposed to see a Rust main function with a little play button on top
    2. Click that play button
    3. You should see a bottom panel opening with the message to print
  7. If the above step completed successfully, everything is ready

Training Roadmap

  1. data-types
  2. functions
  3. control-flow
  4. ownership
  5. structures
  6. enums
  7. options
  8. result
  9. generics
  10. traits
  11. project

Memos

Here are some memos you can use in order to help you to quickly remember what we have seen in this training

  1. Rust guarantees
  2. Primitive types
  3. Control flow
  4. Destructuring
  5. Ownership
  6. Items privacy
  7. Struct enum
  8. Option & Result enums
  9. Generics
  10. Traits
  11. Lifetimes

About

Rust Training by Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages