Re:Rob Pike interview
by zomglings on Thursday April 30, 2020 @12:44PM
(#23032939)
I haven't switched from Python to Go, but I program heavily in both languages and can offer an additional point here:
Go makes it easy to produce binaries for any target platform that execute without requiring a working Go installation.
This ease of packaging makes Go my default language when I'm writing developer tooling - for example, if I know that team-mates are going to have to run tools that I write but I don't want to make assumptions about their development environments.
There is one caveat: This only works well if you avoid platform-specific functionality (e.g. syscall package) and CGO.
Go makes it easy to produce binaries for any target platform that execute without requiring a working Go installation.
This ease of packaging makes Go my default language when I'm writing developer tooling - for example, if I know that team-mates are going to have to run tools that I write but I don't want to make assumptions about their development environments.
There is one caveat: This only works well if you avoid platform-specific functionality (e.g. syscall package) and CGO.