Xilem: Let's Build High Performance Rust UI - Raph Levien
Rust Nederland (RustNL) Rust Nederland (RustNL)
3.57K subscribers
9,240 views
297

 Published On Jun 4, 2024

Xilem is a new UI toolkit designed for high performance and idiomatic expression of UI and app logic, suitable for both desktop and mobile. Xilem is built in a layered architecture. At the top is a reactive layer where views are simple statically typed Rust structs (though type erasure is possible), and no macros are needed. The widget layer is evolved from Druid. At the infrastructure layer is Vello, a 2D rendering engine using GPU compute shaders, specially tuned for dynamic vector graphics content. The text stack is also tuned for performance, including supporting animation of variable font parameters. Accessibility is a primary goal, and integration with AccessKit is baked in from the start. Another goal is interop with other projects in the Rust ecosystem, including wgpu, and providing a clean abstraction layer for widgets. It is work in progress, with a strong open source community driving toward ambitious goals.

Slides: https://docs.google.com/presentation/...
Follow Raph on:

mastodon: https://mastodon.online/@raph
github: https://github.com/raphlinus


This talk was given at RustNL 2024, in Delft, The Netherlands.

Playlist of other talks from RustNL 2024:    • RustNL 2024  
Want to come to RustWeek 2025 in-person? go to https://2025.rustnl.org

show more

Share/Embed