5 ms·
Don't ever try Rust.
by jedisct1 6y ago
Don't ever try Rust.
- throwaway894345 6y agoI haven’t used Rust on any significantly sized project. Could you elaborate? Is it only slow to compile release builds?
- steveklabnik 6y agoIt is generally slower to compile than we would like. We have and will continue to spend a lot of engineering time improving it. It is often one of the largest feature requests from the community.
- erik_seaberg 6y agoAny compiler that's faster than a human brain is a win. More than that is gravy, and thank you for it.
- thurn 6y agoI started learning rust as a quarantine project, and my <5000 line project takes ~10 seconds to do an incremental development build and 1-2 seconds to typecheck
- lima 6y agoI work with a ~10k line project and it takes 60s to incrementally compile on a Ryen 3990X. Rust is great, but the compile times do need to improve :-)
- shurikdima 6y agoWhat do you mean by "incrementally compile"? an addition of a single line of code results in a 60s build? never experienced anything like that, only the first compile is slow for me.
- onei 6y agoIncremental compilation results are subjective. If you just changed the file with "main" in it and there was nothing else in there, I'd expect it to be faster than changing a file at the bottom of the dependency tree as you then have to recompile a lot more. Perhaps they're changing some fundamentals of the codebase and (unsurprisingly) the compiler seems slower than you might expect.
- lima 6y agoYes, unfortunately, most of my work is on low-level shared libraries and it often wants to rebuild everything.