3 ms·
Versus C++? I have many gripes with Go but I'd choose Go over C++ for a lot of uncomplicated stuff like backend web services that just have to have "pretty good
by dgunay 3y ago
Versus C++? I have many gripes with Go but I'd choose Go over C++ for a lot of uncomplicated stuff like backend web services that just have to have "pretty good" performance. Faster than Python, slower than C++, but not by much.
Killer "features" of Go:
- Very easy to get someone up to speed on it. I chuckle when I see positions advertised as "preferring Go experience". A good programmer can learn most of Go's features in a month.
- Makes a lot of "magic" impossible or so annoying as to be not worth writing. This means you can usually just read your dependencies' source code to easily figure out what they're doing. Nearly all Go code looks the same.
- Languages like e.g. Rust attempt to actually model certain problems accurately, which introduces a lot of unavoidable complexity. Go does not bother itself with such concerns as "correctness" in many cases. I sound snide but for many use cases this is the right move.
- Go moves slower and has a commitment to backwards compatibility that many other languages don't.