3 ms·
That’s not really a fair comparison. This code is installing Go where as you’re assuming Rust is already installed in your example. Plus I’ve had way more issu
by pushpop 7y ago
That’s not really a fair comparison. This code is installing Go where as you’re assuming Rust is already installed in your example.
Plus I’ve had way more issues with Rust versions than I have with Go.
Ultimately though this all just a very small part of writing code in either language.
- herbstein 7y agoYou're right, it's assuming Rust is installed since it's talking about updating the compiler. But let's install Rust instead then: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs https://sh.rustup.rs | sh` Now you can `rustup install <version>` easily with everything taken care of. Of course, the latest stable release is automatically installed already. And Rust provides automatic install scripts for Windows, Mac, and Linux. Whereas Go is more involved than is expected for any modern language.
- pushpop 7y agoYou can just download the go tarball and go from there. Technically you don’t need to install Go, you don’t need environmental variables set etc. But I do get your point. You are absolutely right that go doesn’t hand hold you through that process and thus a thousand different people have a thousand different methods for doing it.