Dive into a comprehensive Rust Lang Team Design meeting that explores the intricacies of dyn Trait and coherence. Gain insights into the background of the problem, understand type ID concepts, and learn about objects safe for dispatch. Explore the implications of the default keyword and default crate, and examine the considerations for final type defaults. Delve into the nuances of borrowing, compare static versus dynamic approaches, and engage in decision-making processes. Conclude by investigating dyn safety, equipping yourself with essential knowledge for advanced Rust programming and language design.
Overview
Syllabus
Intro
Background
The problem
Type ID
Objects safe for dispatch
Default keyword
Default crate
No default
Final type
Default
Dont borrow
Static vs din
Which one would you choose
dyn safety
Taught by
Rust