4 ms·
Is there any reason why so many of those tools are written in Go? Is it because of a stdlib or just accidental?
by wiseowise 2y ago
Is there any reason why so many of those tools are written in Go? Is it because of a stdlib or just accidental?
- keyle 2y agoGo gets it done and for years to come.
- aeadio 2y agoCould be cultural. Go has a lot of exposure in the DevOps / cloud infrastructure space. Lots of stuff like k8s and Terraform (and its providers) are written in Go, and it competes with Python in popularity for internal tooling.
- bloopernova 2y agoYeah exactly. I wrote one orchestration tool in Python, another department used Go. Right now I'm using nodejs simply because that's the main project language and all the developers can help out :)
- SushiHippie 2y agoIn this case it seems like the creator of this tool already knew golang so he used it. From the readme: > It's totally inspired from dog [0] which is written in Rust. I wanted to add some features to it but since I don't know Rust, I found it as a nice opportunity to experiment with writing a DNS Client from scratch in Go myself. Hence the name dog +go => doggo. [0] https://github.com/ogham/dog https://github.com/ogham/dog
- moffkalast 2y agoSo the name can be a pun, of course.
- lynndotpy 2y agoGo is produces (mostly) statically compiled binaries by default. No runtime, no interpreter, no dependencies. Python, Java, JavaScript, C#, etc. can't say the same.
- audiodude 2y agoIn my experience, I've always had to install Go and it's ecosystem to `go install foo` for Go programs to work. Is anyone distributing binaries?
- sadops 2y ago[flagged]
- cromka 2y agoCorrect me if I am wrong. but this is the feature of C#/.Net as well as of recent versions.
- ch3 2y ago[dead]
- neonsunset 2y agodotnet publish -o . -p:PublishAot=true :) To be fair, I do not think the author understands what static binaries are and why they may or may not want them, and how what Go does differs to what C/C++ toolchain does. I’d be very surprised if they do, being a Go developer. Next time they will learn another excuse to promote their language.
- deleted 2y ago[deleted]