|
|
|
|
|
by cbanek
3539 days ago
|
|
I've written production projects in both go and python. My choice would be python. Python has a great standard lib which is mature, and not changing a huge amount. It also has a lot of modules that you can pip install. If you are really worried about performance, you can pick Go, although you might as well just do C++ if you're super hardcore about performance. While the garbage collector has gotten a lot better, it's still a perf hit. That being said, for most of the code I write, it's only slow in python if I'm doing something stupid. The threading and pool primitives are also very useful. For simple web services, there are also a number of mature python frameworks (flask, django) that have more features than some of the basic go http server stuff. It's also a fair bit faster to bootstrap simple CLI programs with python. Argparse is also great. |
|