3 ms·
Maybe this is why so many people love Golang (including me). It's a corporate language after all.
by ffggvv 10y ago
Maybe this is why so many people love Golang (including me). It's a corporate language after all.
- taneq 10y agoI still default to C++ (or at least, the subset thereof which works for me). Occasionally I've eyed newcomers like Rust and Go from across the room but haven't yet found a compelling enough reason to burn a bunch of my free time learning another language. Golang looks at very cursory glance to be yet another entry in the "modern C-like" column. If you could recommend one link to read to convince me that it's worth learning, what would it be? My main dev work is native Windows/Linux GUI, Linux command line utils/servers, and embedded development.
- etatoby 10y agoI don't have a good link at my fingertips, but IMHO the killer features of Go are: - super-fast compilation, so much so that you can write Go "scripts" that are compiled and run from the #! line every time you call them, faster than it takes the Python interpreter to start; - static binaries: this eliminates an entire class of problems, such as DLL hell and OS version dependencies; - great concurrency model, easy, powerful, and safe, based on CSP; - implicit interface implementation, which makes it easy to integrate different libraries (I'm not sure what the academic name is for this feature, but it's taken straight from Common LISP, Haskell, etc.) Highly recommended. Easy to learn and very comprehensive standard library.
- jerf 10y agoGo has had some surprising success in command line tools, probably because it's one of the easier languages to deploy static binaries in. Windows/Linux GUI is more-or-less a no-go, and "embedded", well, it depends on how you feel about 3MB+ executables as the minimum size. If "embedded" here means "cell phone" level of capabilities, that may not bother you. If embedded means "I'm counting the kilobytes" then it's also a no-go.