7 ms·
>multiple Go executable can not share libraries as easily as how c/c++ uses the shared lib https://pkg.go.dev/cmd/go#hdr-Build_modes https://pkg.go.dev/cmd/go#
by citrusybread 3y ago
>multiple Go executable can not share libraries as easily as how c/c++ uses the shared lib
https://pkg.go.dev/cmd/go#hdr-Build_modes https://pkg.go.dev/cmd/go#hdr-Build_modes
you can actually build with shared libraries :)
I think most people I've seen use go, only use a single application, or have it turned into a docker container; so for them this is pointless but just fyi.
I personally dislike static linking but I see why it was used so heavily with go.
- synergy20 3y agonot really, it's not something Golang really cares a lot to say the least, to become 'mainstream', Golang actually has to embrace more use cases. https://github.com/golang/go/issues/47788 https://github.com/golang/go/issues/47788