iced-rs/iced ? reverse-engineered prompt

Reverse engineered prompt

I want to build a cross-platform GUI library for Rust. The main goal is simplicity and type-safety, taking inspiration from the reactive, state-driven model of Elm. Someone using this should be able to define their application's state, the messages that can change it, and a view function that displays the UI. When a message happens, the state updates, and the UI reacts automatically.

The library needs to support building apps for Windows, macOS, Linux, and even the web. It should come with a good set of built-in widgets like buttons, text inputs, and scrollable lists, but also allow users to create their own. For rendering, it should be flexible, using a hardware-accelerated backend like wgpu for performance, but also offering a software renderer as a fallback. A cool bonus would be some built-in debug tooling, maybe with performance metrics or even a time-travel debugger to step through state changes.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab