|
|
|
|
|
by Cedricgc
23 days ago
|
|
IIRC Go had to deal with a bunch of issue related to their initial source based package management system. The URL imports remain, but I believe fetches are served through the pkg.go.dev proxy now. Andrew Nesbitt has a good write [0] up on why using Git as a database is a bad idea [0] https://nesbitt.io/2025/12/24/package-managers-keep-using-gi... |
|
> The problem was that go get needed to fetch each dependency’s source code just to read its go.mod file and resolve transitive dependencies. Cloning entire repositories to get a single file.
Then it needs to compile the module, right? It's not downloading it twice.
> Grab’s engineering team went from 18 minutes for go get to 12 seconds after deploying a module proxy.
> ...
> GOPROXY became the default in Go 1.13.
The way this is written it sounds like go builds were extremely slow (18 minutes) so go adopted a proxy to speed things up. But Go 1.13 was released in 2020, and the blog post about 18 minutes is from 2023. There's no link to anything about GOPROXY.
The vcpkg example also isn't a git issue, it sounds like just bad engineering from Microsoft.
I'm willing to believe there are issues with using git, but that article is a letdown.