5 ms·
Speed of the compiler itself. I understand it's not related to the benchmark discussion as such but it's the first thing someone will notice new to rust. Comp
by the_mitsuhiko 14y ago
Speed of the compiler itself. I understand it's not related to the benchmark discussion as such but it's the first thing someone will notice new to rust. Compiling rust itself takes for ages.
- smosher 14y agoA clang build was recently taken out of that process, though I haven't tried building since then.
- steveklabnik 14y agoIt took me ~1 hour to compile on my MacBook Air.
- thinkpad20 14y agoyup, me too.
- smosher 14y agoOuch. Did you run the build with multiple jobs? (Parallel builds have been a bit messed up because of fetching the bootstrap, but you can coax it into working.)
- steveklabnik 14y agoI just did ./configure && make && sudo make install.
- smosher 14y agoI don't think I've actually tried that, except on my netbook (conclusion: don't try to build Rust on a netbook.) I have made a habit of typing supplying `-j 8` to make. Note: if it hasn't been fixed yet, you'll need to fetch the bootstrap compiler before that will work.
- pcwalton 14y agoYes, I would like to spend time in the next release cycle working on compiler performance. To start with, I have a patch that improves performance of translation by 15%. brson and I have been discussing using stage0 LLVM for subsequent stages, so that LLVM itself won't have to be compiled. This should reduce the amount of time required to compile Rust by a lot.