Re:Ask HN: Why does every package+module system become a Rub...
by tremon on Monday January 30, 2023 @05:59PM
(#34587871)
I thought Rust doesn't have binary libraries? If you declare a Rust dependency, cargo pulls its source and builds it together with your own code? I assume that's what the GP meant, anyway.
[ Parent
| on HN ]
Re:Ask HN: Why does every package+module system become a Rub...
by steveklabnik on Monday January 30, 2023 @06:17PM
(#34588089)
Source code is stored in an S3 bucket owned by crates.io, and not from any form of source control, including git.
That the entire code of all dependencies is hosted in one place is an important differentiator of crates.io vs what Go does, which is why this is relevant in this context. Crates.io is centralized, with all of the advantages and disadvantages that that brings, and Go is decentralized, with all of the advantages and disadvantages that brings.