by maxmcd · 1y ago · 0 comments
I believe Zig is also considering adopting it.
If there are any dependencies with the same major version the algorithm simply picks the newest one of them all (but not the newest in the package registry), so you don't need a lockfile to track version decisions.
Go's go.sum contains checksums to validate content, but is not required for version selection decisions.
In go 1.17 they were added so that project loading did not require downloading the go.mod of every dependency in the graph.