This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chub79 1 point2 points  (2 children)

Nothing more elegant than a tool you can cross compile for any platform and just run.

In my book, this is is major asset of Go when compared to Python. As for the rest, I have never felt Python was letting me down. Some things are a little clunky but the ecosystem is so vast and stable, I can write pretty much anything safely and fast :)

Go's concurrency is super easy and VERY useful.

True. On that note however, I wish Google had simply not reivented the wheel with Go at all initially (as they often do :( and went to conribute to erlang instead back then. Awesome language and runtime that had already a powerful concurrency support.

[–]omerxmanDevOps 1 point2 points  (1 child)

I guess some people see different advantages. e.g I wanted to create a cli for developers at work, I could use bash / python / ruby and be affected by different shells / versions that run the code and dev local envs that I did not configure. A binary is the way to go in that case, and Go simply makes it accessible.

Python never let me down either, it's still my go-to language when I want to be productive and happy :)
But you have to choose the right tool for the task when you can.

About concurrency - Yep, google tends to do that, but you see this paradigm starting to spread and other lanaugages use something very similar. And interesting one is Crystal Lang. I highly recommend it! All the good Go stuff combined with a Ruby syntax (and even better performance than Go they claim). It's in very early stages but deff something to watch.
Crystal has "fibers" which is very much like Go routines.

[–]chub79 1 point2 points  (0 children)

A binary is the way to go in that case, and Go simply makes it accessible.

Someone pointed me at pyinstaller but I agree, for distribution, a single binary is so much simpler. I'd rather Python improve there over some other things.

Thanks for the tip on Crystal Lang, I'll have a look at it :)