4 ms·
I agree, though will point out that one other factor in go’s favor besides fast compiles is relatively easy cross-compiling to other architectures. At least b
by SkyMarshal 5y ago
I agree, though will point out that one other factor in go’s favor besides fast compiles is relatively easy cross-compiling to other architectures.
At least back when it came out, that was a noticeable feature to folks evaluating it.
But yeah it seems to be more of a competitor vs Python and Ruby than vs Rust.
- zozbot234 5y agoTo be fair, the combination of cargo and llvm makes cross-compiling just as easy in Rust. But yes it's a great improvement over clunky old C/C++ toolchains. Go is not a bad language after all, in fact it has plenty of things going for it.
- thinkharderdev 5y agoI think a big factor in Go adoption was exactly this. If you wanted a language that could be used for system-y programming (i.e. something that AOT compiles to a native binary) then Go was the only game in town (before Rust came onto the scene) aside from C/C++. And the tooling for C/C++ development is pretty atrocious. I hadn't done any C++ dev in a long time until relatively recently and was pretty shocked to see how bad it was. It's amazing that there is still no reliable way to manage dependencies and the various C++ package managers out there (vcpkg, conan, etc) are still extremely finicky.