Re:The Simplicity of Single-File Golang Deployments
by nightfly on Wednesday March 22, 2023 @05:44PM
(#35267477)
The problem is having to wait for all those applications to push updates when a vulnerability is found in a common library
[ Parent
| on HN ]
Re:The Simplicity of Single-File Golang Deployments
by taeric on Wednesday March 22, 2023 @08:04PM
(#35268813)
That is the thing, though. For most applications, those vulnerabilities in a common library are not relevant. That is what I was talking about in saying that it is in code that isn't used by them.
You are, of course, right that it has the possibility of happening. But by and large, it doesn't happen there any more often than it does in the dynamically linked cases. And, by and large, the dynamically linked cases are often a lot more complicated to deploy. (Granted, deployment for either should be doable nowadays.)
The dream, of course, is you just patch the library and call it a day. The reality seems to usually be a circus check on every application that you have deployed to see if they are impacted anyway.
Re:The Simplicity of Single-File Golang Deployments
by initplus on Wednesday March 22, 2023 @09:47PM
(#35269508)
The solution to this is to make the build process as simple as possible. Then pushing updates has a much lower maintenance cost.
I can be confident I will be able to build >90% of go programs by cloning the repo and calling go build.