Skip to content

davila7/rust-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course Rust 101

Introduction

Welcome to the Course Rust 101 repository! This repository serves as a comprehensive guide for beginners looking to learn the Rust programming language. Rust is known for its performance and reliability, making it an excellent choice for systems programming and beyond. This course is designed to provide you with the foundational knowledge and practical skills needed to start programming in Rust.

Course Structure

The course is organized into several modules, each focusing on different aspects of Rust. Below is the structure of the course and its folders:

Module1_Basics/

  • Introduction_to_Rust.md
  • Setting_Up_Your_Environment.md
  • HelloWorld.rs

Module2_Control_Flow/

  • Conditionals.rs
  • Loops.rs
  • Pattern_Matching.rs

Module3_Data_Types/

  • Variables_and_Data_Types.md
  • Structs.md
  • Enums.md

Module4_Ownership/

  • Ownership_Basics.md
  • Borrowing.md
  • Lifetimes.md

Module5_Concurrency/

  • Threads.md
  • Message_Passing.md
  • Shared_State.md

Module6_Advanced_Features/

  • Traits.md
  • Generics.md
  • Macros.md

Module7_Cargo/

  • Introduction_to_Cargo.md
  • Managing_Dependencies.md
  • Building_and_Deploying.md

Features of Rust

Rust is a modern programming language that offers several key features:

  • Speed: Rust is designed for performance, enabling developers to write fast and efficient code. Its zero-cost abstractions ensure that high-level features do not come at the expense of performance.

  • Safety: Rust's ownership model guarantees memory safety without needing a garbage collector. This prevents common bugs such as null pointer dereferencing and buffer overflows.

  • Concurrency: Rust makes concurrent programming easier and safer. Its ownership and type system help prevent data races at compile time, allowing developers to write concurrent code with confidence.

  • Portability: Rust is designed to be portable across various platforms. It compiles to native code and can run on different operating systems, making it suitable for a wide range of applications.

Happy coding!

Releases

No releases published

Packages

No packages published

Languages