Re:Why doesn't Rust care more about compiler performance?
by kobzol on Friday June 13, 2025 @03:24AM
(#44266459)
For many use-cases yes, but there are crates bottlenecked on different things than the codegen backend.
But I don't think that's the point. We could get rid of LLVM and use other backends, same as we could do other improvements. The point is that there are also other priorities and we don't have enough manpower to make progress faster.
Re:Why doesn't Rust care more about compiler performance?
by kunley on Friday June 13, 2025 @04:29AM
(#44266778)
Fair reply, thank you.
Re:Why doesn't Rust care more about compiler performance?
by panstromek on Friday June 13, 2025 @03:28AM
(#44266479)
This is somewhat true but also a bit misleading. Lot of the problems comes from how rust interacts with it, and how are rust projects structured. This ultimately shows up as time in LLVM, but LLVM is not entirely responsible for it.
Re:Why doesn't Rust care more about compiler performance?
by yencabulator on Saturday June 14, 2025 @12:25PM
(#44277260)
The article briefly mentions Cranelift, though only as a link destination not by name. And that's a way to faster Rust builds, for sure! Currently only recommended for dev builds, not production.
The slowness comes mainly from LLVM.