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.
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.
No prior knowledge of Rust is required. Familiarity with procedural programming in some programming language is required.
- 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