rust-lang / crates-io-cargo-teams

the home of the crates io team
5 stars 11 forks source link

Cargo pre-planning: downloads #12

Open nrc opened 6 years ago

nrc commented 6 years ago

cc @withoutboats, @alexcrichton

nrc commented 5 years ago

ping @withoutboats and @alexcrichton

Some starter questions:

ishitatsuyuki commented 5 years ago

Regarding cloud build: I think we may want to reuse crater artifact, so integration with crater should be in the mind.

alexcrichton commented 5 years ago

Sorry I haven't had a lot of time to dig into this, I was planning on revisiting/posting to this after the 2018 edition is out

nrc commented 5 years ago

Notes from today's Cargo meeting:

alexcrichton commented 5 years ago

Alright I've got some time now! I'd like to jot down some thoughts on this...

Accelerating builds through caching

I think one of the lowest hanging fruit for making the compiler feel faster is going to be increasing the amount of caching going on in a typical build process. While single-thread performance of the compiler is still important, it's always nice to do no work at all! There's lots of different avenues we can pursue here, and here's what I'd personally think we should tackle in order of priority:

Affecting Cargo's download behavior

Also mentioned in the OP were a few parts about Cargo not downloading items ore otherwise downloading things from different places. I think these are quite important too, and perhaps orthogonal to the above!