3 ms·
Is it true what he is saying about a single binary? Go doesn't do dynamic linking?
by cdelsolar 12y ago
Is it true what he is saying about a single binary? Go doesn't do dynamic linking?
- yebyen 12y agoYes. Go binaries are statically linked and thus portable[1] without dependencies. [1]in the sense of being self-contained, not architecture-independent.
- landr0id 12y agoCurrently Go only statically links libraries. I thought I read in one of the roadmaps that they want to do dynamic linking down the line but I cannot seem to find that source anymore.
- falcolas 12y agoYes and no. Pure go libraries are statically linked, but if you run 'psof' on a running go process on Linux, you will see open file handles to some shared libraries.