(2) There’s no high-profile language design decision you can point to and say “aha, that was a mistake!” No header files, for example. The slowness comes from a lot of smaller things that have real benefits, such as the borrow check.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What % of the total compilation time is due to the checks? Maybe a quick no-check compilation mode would be beneficial for quick edits? Programming has a rhythm where big changes are followed by many smaller ones. A no-check compilation may be useful for the small changes.
-
That very much depends on your code. Rust's type system for example is very powerful, but actually using that power will cost compile time.
End of conversation
New conversation -
-
-
trait bounds resolution has something extremely non linear in it, i can point to that
-
i guess i should do the work if creating a minimal example and submit a pr
End of conversation
New conversation -
-
-
How about a secure distribured compiler cache?
- 2 more replies
New conversation -
-
-
@nnethercote's work would tend to contradict this. -
I would say that 3 years ago it wasn't well optimized, and finding improvements was really easy. Today it's much harder. So I think "pretty well optimized" is a reasonable description.
End of conversation
New conversation -
-
-
What about memorization and parallelism?
-
Rustc already does both of those to some degree
- 9 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.