Hacker News new | past | comments | ask | show | jobs | submit login

> It is pro in sense Rust developers spend inordinate time in blaming LLVM for slow compilation.

Some of it really is LLVM, witness the latest LLVM release where Rust lost 10% in compile time and changed absolutely nothing other than the LLVM version.

However, the Rust folks are also painfully aware of just how much slow compilation is the fault of the Rust side. The whole idea of moving to MIR is to enable optimizations to be done with more context so LLVM doesn't have quite so much code that it has to generate and then spend all its time trying to optimize away.

However, Rust is always going to be slower to compile than a language like Go where compilation speed was an actual primary goal.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: