What Python developers need to know before migrating to Go
blog.repustate.com
What Python developers need to know before migrating to Go
1–10 of 117 posts
Re: What Python developers need to know before migrating to Go
#2I know the bright team over at bit.ly made a successful switch from python to go-- anyone else?
The more I hear about go, the more I like it.
Re: What Python developers need to know before migrating to Go
#3Re: What Python developers need to know before migrating to Go
#4Re: What Python developers need to know before migrating to Go
#5Re: What Python developers need to know before migrating to Go
#6Any HN readers of this post have any similar experience? I know the bright team over at bit.ly made a successful switch from python to go-- anyone else? The more I hear about go, the more I like it.
"We identified early on that Go had all the makings of a language that could supersede some of the places we would have traditionally turned to C and some of the places where we wanted to move away from Python."
Re: What Python developers need to know before migrating to Go
#7Re: What Python developers need to know before migrating to Go
#8Is there any particular reason for this? Sets are so fundamental to mathematics and beyond that I am concerned right away about this. Sure you could use a map as a replacement, but what happens to "user experience"?
I do not get this for other languages as well. Data structures that are present in nearly all computer science books are often not built into the language or standard libraries, like trees, graphs. Reasoning given is that some other data structure could serve as a replacement (never mind that the programmer's intentions are not directly reflected in the code anymore), or because it is considered too removed from practical usage, or because some third-party library includes it. I do not buy any of these arguments.
Re: What Python developers need to know before migrating to Go
#9Re: What Python developers need to know before migrating to Go
#10Any HN readers of this post have any similar experience? I know the bright team over at bit.ly made a successful switch from python to go-- anyone else? The more I hear about go, the more I like it.
The ecosystem has a long way to go (compared to Python), but goroutines and channels are a pleasure to work with. It's nice being statically typed again, and I really like object composition versus Python's inheritance. Resource usage for my cases is much lower, latency is much lower, throughput is much higher, and my deploy/provisioning scripts are a lot more simple due to Go's static compilation.
At my day job, we may start mixing in Go for background tasks that are a bit too slow/inefficient in our current Python stack. I could also see it being a good fit for some of our more high traffic HTTP APIs.