-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long Compile Times: Dynamic Linking? #849
Comments
I'm not talking about hot reloading, more just dynamic linking with the #21 (comment) Modifying the main.rs file and recompliling using static linking takes around (6-7) seconds in my small-ish bevy project. While doing the same test using the |
Oh gotcha, ya that isn't currently a feature, but you could create a PR for that feature that would be fantastic! |
So, I managed to transfer the feature over from bevy and I got a slight iterative compile time improvement: // Dynamic Compile Times: 2.49s, 2.53s, 2.40s, 2.76s, 2.26s, 2.45s
// Static Compile Times: 3.03s, 4.22s, 3.50s, 3.20s, 3.06s, 3.70s, 2.85s, 2.87s, 3.68s Time for my PR! |
I've used the Bevy game engine and I cannot live without the super fast (sometimes <1 second!) dynamic linking support. Is this possible to do with Iced? Being a UI library, Iced applications need lots of design iteration for styling & layout. However, iteration is made tedious with long compile times. Is it possible to implement a feature similar to Bevy's
--features bevy/dynamic
?PR for this Issue: #867
The text was updated successfully, but these errors were encountered: