Rust compiler will never be as fast as C, but it costs more time of the programmer trying to avoid or debug problems C allows to exist and Rust does not.
-
-
Replying to @TamasBlummer @rustlang
Taking 2x-5x is fine. Taking 20x-100x is not fine. I have to remove anything containing Rust from some of my projects now.
1 reply 0 retweets 1 like -
A compile that would take 15 minutes now taking 20 hours is not ok.
2 replies 0 retweets 4 likes -
That's gross I agree. It must be some exceptional size of code base and some very disruptive change to it.
1 reply 0 retweets 1 like -
You don't need an exceptional size of code base to have this issue, just your regular 6-figure LOC industrial project. Exceptionally large code bases have compile time issues in C++ (that's a major reason why Google created Go).
2 replies 0 retweets 0 likes -
Where Chromium is building in 30-45 minutes, Firefox is taking 12-24 hours. Stuck in Rust. I can’t work with that.
4 replies 0 retweets 1 like -
I don't think such build times are expected for Firefox on any platform, sounds like a bug... Their build times in CI are < 1h afaik.
1 reply 0 retweets 5 likes -
On gentoo, if I emerge Firefox, it’s ready tomorrow. I will loudly and happily proclaim my error if this is a gentoo bug and not a rust bug. I will sit down and write some rust code if that’s the case.
5 replies 1 retweet 3 likes -
For what it’s worth, we do know compile times are a pain point, and are always working on improving them. That does sound quite excessive though. I don’t follow Firefox build times, but if that was the norm, I’d expect to have heard about it.
2 replies 0 retweets 10 likes -
Well, for what it’s worth, I expect you would have heard of it too. I’m making debug builds so perhaps *that* codepath is the problem. I should find out. Usually people just say “suck it up” rather than press for more science. I’m always game for more science!
4 replies 0 retweets 5 likes
I bet $10 Gentoo is building the Rust compiler in debug mode with whatever settings you’re using. Chromium compiles pretty slow too if you build LLVM in Debug+Asserts mode.
-
-
Not that slow but this would be my bug not theirs :)
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.