Rust compiler performance is hard to have meaningful discussions about because: (1) There’s no single part of the compiler which is slow. In fact the compiler is pretty well optimized.
-
-
Honest question: is there any evidence that *fine-grained* incrementalization would help *in a compiler for such a complex language*? Embarrassingly parallel tasks parallelize well, but compilation ain't it, even if you ignore monomorphization.
-
I’m aware of work by Acar and Hammer, and of Erdweg’s co-contextual typecheckers, but time and again, the overhead of fine-grained dependency tracking and the increase in "link-time" work keeps killing any of the advantages.
- Još 3 druga odgovora
Novi razgovor -
-
-
Of course there is incremental rustc but it feels rather after-the-fact as opposed to how it’d turn out if this was a fundamental tenet.
-
Also I don’t mean to say it isn’t hard, it’s definitely hard!
- Još 10 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.