enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 320 forks source link

Improving Build Iteration Time #7542

Closed farmaazon closed 6 months ago

farmaazon commented 1 year ago

To deliver new visual features to our application in reasonable time, we must be able to quickly see the results of our changes. Now the greatest obstacle is the long compilation time. We may also consider extracting some assets (like style sheet) so the compilation would not be always required.

First, we should track where most time is spent during compilation and prioritize accordingly. Below is an initial list of ideas of what might be an improvement.

### Ideas
- [ ] https://github.com/enso-org/enso/issues/7043
- [ ] Reduce number of generics; instantiate some or replace with dyn's.
- [ ] Split `enso-gui` into smaller crates
- [ ] Remove or replace big dependencies.
- [ ] Load Stylesheet from file.
farmaazon commented 6 months ago

After GUI1 removal most of the points will be invalid, and the problem also lessened (I hope). If will ever have a problem with slow rust builds again, we should make new task (and new investigation).