3 ms·
Except you need to make sure you built against the correct version of libc because you cannot statically link that. I remember when docker first came out and p
by Tsarbomb 6y ago
Except you need to make sure you built against the correct version of libc because you cannot statically link that.
I remember when docker first came out and people were losing their minds about how they will be able to deploy their applications with all their dependencies in a single shippable bundle, kind of like an uber jar.
- touisteur 6y agoIsn't that what go is trying to alleviate, with their use of direct syscalls and no use of libc?
- nitsky 6y agoRust programs can be statically linked to musl libc, producing binaries that will run on any linux distribution. You can run ldd on the binaries and confirm they have zero dependencies on shared libraries.
- hkeide 6y agoI build my Linux Go binaries on my macOS development machine. Cross compilation is trivially easy in Go and I never had any libc version problems.