News for hackers. Stuff that matters.
Re:Rust – Faster compilation with the parallel front-end in ... by the_duke on Friday November 10, 2023 @08:03AM (#38218308)
And on having a fast CPU, RAM and disk.

It makes a huge difference.

For what it's worth, I'm working on a project with about 1000 dependencies and incremental debug build time is about 4 seconds on my laptop.

That's already pretty good.

Re:Rust – Faster compilation with the parallel front-end in ... by epage on Friday November 10, 2023 @09:06AM (#38218971)
I know you said 4s is good but have you tried changing the linker?

Number of dependencies likely won't affect incremental build times except for linking and replacing it might offer some good gains for incremental builds.

Re:Rust – Faster compilation with the parallel front-end in ... by the_duke on Friday November 10, 2023 @09:18AM (#38219138)
Oh that time is already with mold.

Default linker is quite a bit slower.