Главная
Study mode:
on
1
Intro
2
Designing good Rust APIs is hard
3
Some problems are inherently hard
4
History of attempts
5
Things we avoided
6
Xilem architecture
7
Patterns that make Xilem work
8
Composable traits
9
Composable trait: Iterator
10
Xilem View trait
11
Staged context
12
impl Trait on tuples
13
Fluent API/builder pattern
14
Fluent API: extension trait
15
Optional type erasure: AnyView trait
16
Optional type erasure: blanket impl
17
Optional type erasure: downcasting
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore the challenges and solutions in designing ergonomic APIs for complex problems in Rust through this 53-minute keynote from the RustLab Conference. Delve into the evolution of the Druid architecture and the promising Xilem architecture for UI toolkit development. Discover five powerful techniques driving GUI architecture that can be applied to improve API design across various domains. Learn about composable traits, staged context, impl Trait on tuples, fluent API patterns, and optional type erasure. Gain insights into creating clean, beautiful, and flexible interfaces while leveraging Rust's performance and reliability features.

Ergonomic APIs for Hard Problems - Five Techniques for Improved Design

RustLab Conference
Add to list