by chimeracoder · 13y ago · 0 comments
Furthermore, Google's vision for Go isn't as a replacement for what Python does - the fact that Go can satisfy many of Python's use cases is by coincidence more than by design.
What is not possible is non-process-based, CPU-bound concurrency. Generally, python is poor choice in those cases anyway (there are exceptions of course).
Go replaces Java for Google and most other companies.
Go was supposed to replace C++ but didn't even come close despite the best intentions of Pike and ken.
Comical.
Go tries to be safer and more automatic, like Java. While it's more organized and prescriptive than C or C++, it's less religious than Java about everything being a class. So it encourages the pragmatism and low-levelness of closer-to-the-metal languages while also abstracting out a lot of the details which get in the way of just writing systems.
http://commandcenter.blogspot.fi/2012/06/less-is-exponential...
Apparently the remaining C++ users are really fixated on something called zero cost abstractions, and it's not a goal of Go: "Zero cost isn't a goal, at least not zero CPU cost. Go's claim is that minimizing programmer effort is a more important consideration."
(though I don't think C++ succeeds in "zero cost abstractions")
Channels and Goroutines are easily available in java.util.concurrent.
If you really want compilation to pure native code, there native code compilers for Java as well.