iced-rs/iced

Any way to increase iteration speed?

开放

#638 创建于 2020年11月26日

 (15 条评论) (4 个反应) (0 位负责人)Rust (1,572 个派生)batch import
developer experiencehelp wantedquestion

仓库指标

星标
 (30,491 个星标)
PR 合并指标
 (平均合并 24天 11小时) (30 天内合并 11 个 PR)

描述

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

贡献者指南