Course Outline
Introduction
* What is Rust?
* Comparison of Rust to Other Programming Languages
* Overview of Rust Features and Architecture for Government
Understanding Rust
* The Lifecycle of a Rust Program
* How Rust Functions at the Systems Level
* Memory Safety and Ownership in Rust
Getting Started
* Setting Up the Development Environment for Government
* Installing Rust as a Programming Toolchain
* Configuring the Rust Environment
* Exploring Cargo, the Package Manager
Basic Syntax and Concepts
* Variables and Data Types in Rust
* Control Flow and Loops
* Functions and Modules
* Ownership and Borrowing in Rust
Error Handling and Panic
* Managing Errors with Result and Option Types
* Unwinding vs. Aborting with panic!
* Custom Error Types and Advanced Error Handling Strategies
Memory Management in Rust
* Stack vs. Heap Memory Allocation
* Pointers and References in Rust
* Managing Memory with Box and Unsafe Blocks
Structs and Enums in Systems Programming
* Defining and Utilizing Structs
* Creating and Using Enums
* Pattern Matching in Rust
Asynchronous Programming with Async/Await
* Introduction to Asynchronous Programming in Rust for Government
* Working with async/await Syntax
* Composing Futures and Using Async Libraries
* Exploring the Async Ecosystem and Available Libraries
Traits and Generics
* Advanced Trait Usage and Associated Types
* Implementing Generic Functions, Structs, and Enums
* Bounds and Trait Objects
* Investigating Trait Coherence and Orphan Rules
Advanced Error Handling
* Creating Custom Error Types
* Advanced Error Handling Techniques: try!, ? Operator, and Custom Error Chains
* Strategies and Patterns for Effective Error Handling
Macros
* Procedural Macros: Attribute and Function-like Macros
* Declarative Macros: macro_rules! and Match-like Syntax
* Advanced Macro Usage and Metaprogramming
Performance Optimization
* Profiling and Benchmarking Rust Code
* Identifying Performance Bottlenecks
* Optimization Techniques: Data Structures, Algorithms, and Compiler Flags
* Writing High-Performance Rust Code for Government
Unsafe Rust
* Understanding Unsafe Blocks and Functions
* Working with Raw Pointers and Mutable Aliasing
* Safe Abstractions Around Unsafe Code
Web Development with Rust
* Overview of Web Development in Rust for Government
* Exploring Rust Web Frameworks: Rocket, Actix, Warp, etc.
* Interacting with Databases
* Deployment Options and Considerations
Testimonials (2)
I liked the interactive examples we worked on, the trainer was extremely knowledgeable in almost every subject we had questions about, and gave excellent advise for our real-world use-cases relating to some of the material in the training.
Tracy - GenesysGo
Course - Rust Advanced
The trainer explained a lot of interesting things about RUST starting from the basis, moving to its applications towards Blockchain, which was very insightful and captivating