←back to thread

741 points chirau | 3 comments | | HN request time: 0s | source
Show context
AJRF ◴[] No.44358870[source]
Is there something inheret about rust that means its faster at dep resolution than Python? Like where is the speed up coming from?

Or would it be possible to go this fast in python if you cared enough about speed?

Is it a specific thing that rust has an amazing library for? Like Network or SerDe or something?

replies(2): >>44358890 #>>44358912 #
1. tcdent ◴[] No.44358890[source]
They came up with a faster resolution algorithm, in addition to implementing it in a faster language.

pip could be made faster based on this, but maybe not quite as fast.

replies(1): >>44359256 #
2. _bent ◴[] No.44359256[source]
The resolution algorithm is the pubgrub algorithm from Darts package manager pub, implemented in Rust for Cargo https://youtu.be/LGXx5Bqcgq8
replies(1): >>44363851 #
3. ◴[] No.44363851[source]