I’m not even convinced it’s possible for Rust to compile that fast without simplifying the language a lot. Even if it were, you’re talking about a complete rewrite of major subsystems. Like either “rewrite the whole typechecker” or “rewrite LLVM”.
I’ve seen enough potential silver bullets go by at this point to know better. :) Inlining and copy prop was far more potentially impactful, and it didn’t really help much.
-
-
I’m not trying to be doom and gloom, BTW. I think Cranelift has potential to move the needle quite a bit: https://github.com/bjorn3/rustc_codegen_cranelift/issues/133#issuecomment-439475172 … But that gets back to my point about rewrites of subsystems being necessary for big improvements. Also interesting how Amdahl’s Law kicks in.
-
Amdahl’s Law in action: https://github.com/bjorn3/rustc_codegen_cranelift/issues/133#issuecomment-450382679 … Note that the bottlenecks are in the parts of Rust that don’t have analogues in old languages with fast compilers: borrow check and metadata encoding.
- 1 more reply
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.