by aoms on 6/3/23, 8:34 PM with 22 comments
by peter_l_downs on 6/3/23, 9:54 PM
I hope we quickly arrive at a social standard where posting AI-written content is viewed as extremely disrespectful to your audience.
EDIT: based on previous submissions it looks like aoms is the author of this post. Aoms, am I misunderstanding something here? Why are you doing this?
by mikece on 6/3/23, 9:02 PM
What am I missing here?
by notresidenter on 6/3/23, 9:16 PM
by theshrike79 on 6/4/23, 8:48 AM
As someone who has done devops-y stuff with both, I highly prefer Go just because I can plop in one binary + config file and it'll just work.
With Python I need to install Python, the virtual env manager du jour and all the required packages. And I need to keep them up to date. And everything is just one step harder if I don't, for some reason, have root privileges on the environment in question.
The Go version has been running for days in the time the Python one has all it's dependencies in order =)
by jay_kyburz on 6/3/23, 9:19 PM
by gmuslera on 6/3/23, 10:31 PM
I'm more sysadmin than devops, but how fast you can script over something for a quick automation is the defining trait for most devops tasks, not performance. Going for performance is closer to dev than to ops. Using APIs of several systems doesn't need so much performance neither, unless you are doing pretty intensive amount of calls (and the backend/network could be more of a limitation than the language you use in your side).
Yes, the performance and one-file-deploy are Go advantages against python performance (not for that much) and dealing with dependences and versions. But that is not the whole story, at least for most of the tasks I had to deal with.
And it is not "or". You may want to decide between python or i.e. perl for scripting language used for automation, but there are things that should be addressed with python, and others with go.
by hdjjhhvvhga on 6/4/23, 9:35 AM
by erik_seaberg on 6/3/23, 9:34 PM
And there are other languages that ought to at least be considered for scale and concurrency: Scala, Rust, Erlang …
by nathants on 6/3/23, 10:05 PM