by Mister_Snuggles · 9y ago · 0 comments
With D, in addition, you can link against C shared libraries (dynamic linking) AND you can write standalone libraries in D that even C can link against (see Mir/betterC).
AFAIK, you can do neither of these in Go.
For production you want to omit things like debug from binary so your binary is smaller. You have to play with the build flags. I can get a simple TCP server in Go in just a dozen lines but the binary is around 5MB before optimization.
[1]: https://blog.filippo.io/shrink-your-go-binaries-with-this-on...