Ergonomic APIs for Hard Problems - Five Techniques for Improved Design
Offered By: RustLab Conference via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.
Syllabus
Intro
Designing good Rust APIs is hard
Some problems are inherently hard
History of attempts
Things we avoided
Xilem architecture
Patterns that make Xilem work
Composable traits
Composable trait: Iterator
Xilem View trait
Staged context
impl Trait on tuples
Fluent API/builder pattern
Fluent API: extension trait
Optional type erasure: AnyView trait
Optional type erasure: blanket impl
Optional type erasure: downcasting
Taught by
RustLab Conference
Related Courses
Google Cloud Apigee Certified API EngineerA Cloud Guru Amazon API Gateway para las aplicaciones sin servidor (Español LATAM) | Amazon API Gateway for Serverless Applications (Spanish from Latin America)
Amazon Web Services via AWS Skill Builder Amazon API Gateway para las aplicaciones sin servidor (Español LATAM) | Amazon API Gateway for Serverless Applications (Spanish from Latin America)
Amazon Web Services via AWS Skill Builder Building Modern Nodejs Applications on AWS
Amazon Web Services via edX API Design and Fundamentals of Google Cloud's Apigee API Platform
Google via Google Cloud Skills Boost