3 ms·
I share at least some of the author's criticisms of Go. But it neglects to mention a few of my favorite things - the massive and mostly capable stdlib and the e
by ufmace 4y ago
I share at least some of the author's criticisms of Go. But it neglects to mention a few of my favorite things - the massive and mostly capable stdlib and the easy cross-compiles. How many compiled languages can you be on any of Mac, Windows, or Linux, and compile a binary for all 3 instantly with just a env var that always works no matter how complex your code or how many libraries you're pulling in? I can't think of any offhand.
I like Rust better as a language for a number of reasons, but it unfortunately falls down on both of those. There's also a noticeable difference in how they're used based on the number and maturity of packages available for various things. Most of the Rust world seems to be more focused on low-level stuff. You can do stuff like web services and query web APIs and talk to databases, but there's likely to be only 1 or 2 crates for it, and they're probably maintained by a single person who (like most normal people) sometimes just stops doing anything for months or years. Golang is really made for the web services world, and it shows in the packages available - it seems a lot more likely there will be many top-quality and well-maintained packages for doing any web service like thing you might want to do.
- kaba0 4y ago> How many compiled languages can you be on any of Mac, Windows, or Linux, and compile a binary for all 3 instantly A little tongue in cheek answer, but Java and it does so in a single go as well :D