(no title)
jfkebwjsbx | 5 years ago
I know the Rust contributors are doing their best, and that this blog post is not writing a marketing ploy, but in the end, the result is what matters.
My take on this is that I am fine with compile times as long as some effort is being done to keep it near optimal.
But I really do not want the Rust team to feel pressure to improve the compile times so much that they will end up killing other features or designing the language differently just for that (like Go, for instance). Or even making the compiler so complex that adding new features is harder for them.
I really like Rust as a language that is more complex to write and to compile but in return gives you robustness and performance. Compilation times be damned. I am not writing Rust to compile fast!
bluGill|5 years ago
noch|5 years ago
Year after year, people keep saying this or things like it. But it's worth remembering that it is not the compiler that makes your code fast, but how you structure your data transformations that makes code fast. In 2014, Mike Acton taught us that the best compiler optimisations can only account for 1-10% of the performance optimisation problem space. "The vast majority of [performance] problems, are problems the compiler cannot reason about." https://youtu.be/rX0ItVEVjHc?t=2097
unrealhoang|5 years ago
whatshisface|5 years ago
"The less you intend to do about something, the more you have to talk about it." However this maxim is not applicable here because compile times actually have been improving.
erik_seaberg|5 years ago
nnethercote|5 years ago
There is definitely a marketing angle to these posts. Rust has a reputation for slow compilation, and one of my goals is to show that (a) people working on Rust care about compile times, and (b) improvements are being made.
I'll let you judge whether the marketing is backed by actual substance. It's a long-running blog post series, here are links to all the posts.
* https://blog.mozilla.org/nnethercote/2016/10/14/how-to-speed...
* https://blog.mozilla.org/nnethercote/2016/11/23/how-to-speed...
* https://blog.mozilla.org/nnethercote/2018/04/30/how-to-speed...
* https://blog.mozilla.org/nnethercote/2018/06/05/how-to-speed...
* https://blog.mozilla.org/nnethercote/2018/11/06/how-to-speed...
* https://blog.mozilla.org/nnethercote/2019/07/17/how-to-speed...
* https://blog.mozilla.org/nnethercote/2019/07/25/the-rust-com...
* https://blog.mozilla.org/nnethercote/2019/10/11/how-to-speed...
* https://blog.mozilla.org/nnethercote/2019/12/11/how-to-speed...
* https://blog.mozilla.org/nnethercote/2020/04/24/how-to-speed...
* https://blog.mozilla.org/nnethercote/2020/08/05/how-to-speed...
EDIT: I just saw that alilleybrinker already linked to all these and more below: https://news.ycombinator.com/item?id=24061346