iced-rs/iced

Any way to increase iteration speed?

Aperta

#638 aperta il 26 nov 2020

 (15 commenti) (4 reazioni) (0 assegnatari)Rust (1572 fork)batch import
developer experiencehelp wantedquestion

Metriche repository

Star
 (30.491 stelle)
Metriche merge PR
 (Merge medio 24g 11h) (11 PR mergiate in 30 g)

Descrizione

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

Guida contributor