iced-rs/iced

Any way to increase iteration speed?

Open

#638 opened on Nov 26, 2020

View on GitHub
 (15 comments) (4 reactions) (0 assignees)Rust (30,491 stars) (1,572 forks)batch import
developer experiencehelp wantedquestion

Description

Hello, I'm playing with the basic examples, like a single button changing the window title on click. But every time I run the app after making a change to the title string it takes a little over 10 seconds to recompile (on a 16" i9 MBP).

This is really disappointing coming from both web apps and native apps (Swift/SwiftUI, Delphi/VCL or C++/Qt based). At least when we are talking about basic apps like this.

Any way to improve this? I know the native frameworks I mentioned use dynamic libraries for the framework code while Rust has to recompile from source, but I'm really wondering about solutions rather than reasons for slow compile times.

I'm using the recently released iced 0.2 and Rust 1.48 on macOS 11.1

Contributor guide