Keynote: Ergonomic APIs for hard problems

Rust is great for implementing hard problems, thanks to its combination of performance and reliability. But providing clean, beautiful APIs for that functionality can be a challenge, especially because patterns developed for other languages don’t necessarily translate to Rust.

Abstract

Rust is great for implementing hard problems, thanks to its combination of performance and reliability. But providing clean, beautiful APIs for that functionality can be a challenge, especially because patterns developed for other languages don’t necessarily translate to Rust. Building a UI toolkit is an especially hard problem, and the Druid architecture has evolved dramatically since the early days. The new Xilem architecture promises a powerful declarative approach, drawing on powerful features of the Rust language to provide strong static typing but also a concise and flexible interface. This talk presents five techniques that drive the GUI architecture, but are also general and likely can improve API design in other domains.

Video

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #RustLab2023 to share your experience and connect with other attendees on social media.

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2023 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS