PSU CS 410P/510 Rust Programming (Spring 2021)
Weekly outline
-
- Project setup and tools
- Hello World: binary and library
- Rust control flow basics
Rust datatype basics
Read: chs 1-3
-
- Ownership
- "Mutability"
- Borrowing and mutable borrowing
- Automatic memory management
Lifetimes
Read: chs 4-5
-
- Survey of control flow
- Function calls
Cargo
- Crates
- Modules
- Decorations
- Tests
Rustdoc
Read: chs 6-8
-
-
-
-
- Vec
- Hashing
Standard collection classes
String, str, char etc
- Unicode and UTF-8
- Working with strings
IO operations
Read: chs 16-18
-
- Fork-Join parallelism
- Channels
Shared mutable state
Async runtimes
Read: chs 19, 20
-
-
Undefined behavior vs unsafe
Raw pointers
Foreign functions
Read: chs 22-23