Главная
Study mode:
on
1
Intro
2
Subtyping
3
Sanity Check
4
What is Subtyping
5
Integer to Integer Examples
6
Integer to Ceiling Examples
7
Java
8
Deduction Rules
9
Contravariance
10
Does Rust have variants
11
A magic trick
12
Rust Subtyping
13
mutable references
14
unsafe cell
15
duck subtyping
16
coercion
17
automatic borrowing
18
dereferences
19
pop quiz
20
variance
Description:
Explore the concept of subtyping in Rust and its connection to Arthur C. Clarke's Third Law in this 54-minute conference talk by Felix Klock. Delve into the intricacies of Rust's subtyping system, learning where it exists and how it differs from expectations. Gain insights into variance, mutable references, unsafe cells, and automatic borrowing. Discover why subtyping in Rust can be considered "magical" and when it becomes crucial in complex data structure development. Engage with examples, deduction rules, and a pop quiz to reinforce your understanding of this advanced Rust topic.

Subtyping in Rust - Magic and Misconceptions

Rust
Add to list
0:00 / 0:00