Rust for Java Developers
1h 31mIntermediate2023-11-07
Authors
Tim McNamara
Rust Software Architect and Author
Course details
Are you a Java programmer looking to move into Rust? While both are popular languages, Rust has a number of performance and security advantages—programs use less memory, are easier to develop, and there’s no garbage collector to fight with. In this course, instructor Tim McNamara shows you how to use your Java experience as a springboard for learning Rust. Tim gives you a tour of Rust’s type system, examines its safety features, and describes how error handling works without exceptions.
Skills covered
RustProgramming FoundationsProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Benefits of Rust for enterprise
- 02 - What you should know
- 03 - Using GitHub Codespaces with this course
1. A Tour of the Rust Type System
- 04 - Fundamental types
- 05 - Collections
- 06 - Enum
- 07 - Traits
- 08 - Generics
- 09 - Challenge - Data processing
- 10 - Solution - Data processing
2. Rust Safety Features
- 11 - References
- 12 - Lifetimes
- 13 - Ownership
- 14 - Borrowing
- 15 - Challenge - Linked list
- 16 - Solution - Linked list
3. Rust s Take on Exceptions
- 17 - Handling errors
- 18 - Handling missing values
- 19 - Challenge - Analyze a messy CSV file
- 20 - Solution - Analyze a messy CSV file
4. Avoiding Culture Shock
- 21 - Functional code
- 22 - Data sharing
- 23 - Singletons
- 24 - Challenge - Count words with map-reduce
- 25 - Solution - Count words with map-reduce
Conclusion
- 26 - Next steps