Rust compiler performance
kobzol.github.io
Rust compiler performance
1–10 of 264 posts
Re: Rust compiler performance
#2Re: Rust compiler performance
#3I'd vote for filesystem space utilization to be worked on before performance.
(I know, I have to declare Cargo bankruptcy every few weeks and do a full clean & rebuild)
Re: Rust compiler performance
#4I'd vote for filesystem space utilization to be worked on before performance.
Re: Rust compiler performance
#5I'd vote for filesystem space utilization to be worked on before performance.
Is this not more a Cargo thing? Cargo is obsessed with correct builds and eventually the file system fills up with old artifacts. (I know, I have to declare Cargo bankruptcy every few weeks and do a full clean & rebuild)
Re: Rust compiler performance
#6I'd vote for filesystem space utilization to be worked on before performance.
Re: Rust compiler performance
#7Earlier quoted context omitted.
Is this not more a Cargo thing? Cargo is obsessed with correct builds and eventually the file system fills up with old artifacts. (I know, I have to declare Cargo bankruptcy every few weeks and do a full clean & rebuild)
Correct builds != never running garbage cleanup. I would settle for it evicting older variants of a build (I also dislike the random hash that’s impossible to determine what specifically is different between two hashes / which one is newer).
https://github.com/rust-lang/cargo/issues/12633
*EDIT: For now this only deletes old cached downloads, not build artifacts. Thanks epage for the correction below.
Re: Rust compiler performance
#8I'd vote for filesystem space utilization to be worked on before performance.
Re: Rust compiler performance
#9I wonder if the JVM as an initial target might be interesting given how mature and robust their JIT is.
Re: Rust compiler performance
#10Earlier quoted context omitted.
Correct builds != never running garbage cleanup. I would settle for it evicting older variants of a build (I also dislike the random hash that’s impossible to determine what specifically is different between two hashes / which one is newer).
Automatic garbage collection of old build artifacts* is coming in Rust 1.88 (currently on the beta channel, will become the new stable release in two weeks): https://github.com/rust-lang/cargo/issues/12633 *EDIT: For now this only deletes old cached downloads, not build artifacts. Thanks epage for the correction below.