Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Rust 2018 Module System - Simplifying Crates and Modules

Rust via YouTube

Overview

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.

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

Reviews

Start your review of The Rust 2018 Module System - Simplifying Crates and Modules

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.