2 ms·
I'm surprised you didn't talk about Go's novel dep management system. They have put as much thought into that design as the stdlib https://verdverm.com/go-mods
by verdverm 4y ago
I'm surprised you didn't talk about Go's novel dep management system. They have put as much thought into that design as the stdlib
https://verdverm.com/go-mods/ https://verdverm.com/go-mods/
https://go.dev/ref/mod https://go.dev/ref/mod
- adamgordonbell 4y agoI'm not an advanced user of either but both go.mod and cargo.toml seem like great examples of well thought out approaches to a problem, where they've learned from previous languages and came up with a pretty polished solution.
- verdverm 4y agoIt's not the file format that's important. For one, it's the algorithm used to select the right version of a transient dependency. Go uses MVS which is a polynomial time algo, rather than requiring SAT solver (NP-complete). Go does not allow dependency versions to be specified as ranges. Second, it's all the other checks and infra behind the scenes. A serious amount of thought went into the design of a dependency system that is far more resistant to software supply chain attacks.