Explore the Rust 2018 edition's new module system in this RustConf 2019 talk by Josh Triplett. Gain a comprehensive understanding of the motivations behind the changes, the practical impact on code organization, and future enhancements in progress. Learn about Rust module terminology, the transition from the 2015 module system, and key features like path clarity and uniform path resolution. Discover how community feedback shaped the new system, and delve into macro-related changes and other improvements. Whether you're a beginner struggling with modules or an experienced Rust developer, this talk provides valuable insights into the present and future of Rust's module system, including difficult decisions made during its development and a summary of its benefits.
Overview
Syllabus
Intro
The Rust 2018 Module System
Rust Module Terminology
Rust 2015 Module System
Requirements
Approach
Path Clarity
Uniform Path Resolution
Uniform Paths
Community Feedback
Macros
Other Changes
Future Work
Difficult Decisions
Summary
Taught by
Rust