Skip to content

Instantly share code, notes, and snippets.

@jdegoes
Created May 3, 2023 11:51
Show Gist options
  • Save jdegoes/96572a09b73f25df61db1f9281ca899a to your computer and use it in GitHub Desktop.
Save jdegoes/96572a09b73f25df61db1f9281ca899a to your computer and use it in GitHub Desktop.

Introduction to the Rust Programming Language

Rust is a systems programming language designed for safety, concurrency, and performance. It has gained popularity for its innovative features that prevent memory-related bugs and allow for low-latency, performant, and efficient computation. Understanding Rust can provide new perspectives and approaches to building robust, concurrent, and high-performance applications.

In this 3-day workshop, attendees will receive a beginner-level introduction to Rust. By the end of the course, all participants, regardless of background, will have a solid entry-level foundation in Rust and be able to confidently use it for various real-world programming tasks.

NOTE: Although no familiarity with Scala is required, special attention will be given to the similarities and differences between Scala and Rust.

Who Should Attend

Any developers who are looking to move into Rust, explore systems level programming, or build efficient cloud-native applications. Scala developers who want to explore Rust as an alternative or complementary language, particularly for building safe, concurrent, and high-performance systems.

Prerequisites

No prior knowledge of Rust is required. Familiarity with procedural programming in some programming language is required.

Topics

  • Introduction to Rust
    • Overview and goals of Rust
    • Basic syntax and concepts
  • Ownership and Borrowing in Rust
    • Ownership rules and their benefits
    • Borrowing and references
    • Lifetimes and their implications
  • Rust's Type System
    • Algebraic data types and pattern matching
    • Enums and Options
    • Traits and trait objects
    • Type inference and generics
  • Error Handling in Rust
    • The Result type and its usage
    • Error propagation and handling
    • Custom error types
  • Concurrency and Parallelism in Rust
    • Fearless concurrency and its advantages
    • Threads and message passing
    • Shared state and synchronization primitives
    • Async/await and Futures in Rust
  • Modules, Packages, and Crates
    • Organizing code with modules and packages
    • Using and managing external crates
  • Testing and Debugging in Rust
    • Unit testing and integration testing
    • Rust's built-in test framework
    • Debugging techniques and tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment