Go, also known as Golang, is a statically typed, compiled programming language designed at Google by Robert Griesemer, Rob Pike, and Ken Thompson. Go is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency.(source: wikipedia)
So basically it’s a language like C but without allowing the programmers to worry about memory management. So it’s just the combination of C and Java.
Sounds good right? But you might ask there’s already a lot of languages that do the same like swift, objective-c etc. So why learn a new language like Golang.
So why this hype?
Well, let me not sugarcoat it. The main reason for its mass popularity is that its created by Google.
We all know Google. They introduced Flutter, an open-source UI software development kit used to develop applications for Android, iOS, Windows, Mac, Linux, Google Fuchsia and the web.
Now people are talking about whether will it replace react native and even native android development.
So that’s your piece of motivation.
what it’s used for?
Mostly backend development stuff. Go is being used for implementing databases, message queues, distributed systems, and many heavy-duty backends (Twitter, Google, Yahoo, BBC, …).
Just to be clear GO is actually superior to Nodejs in most aspects. Debatable though. It’s just my personal opinion.
Enough talk lets install it
Choose the OS you work with. The installation should be normal. It’s just GUI installation.
Once the installation is completed, open your favorite terminal and type ‘go’ in the terminal.
If everything goes correctly, you should see something like the above
The installer should automatically create the path variable for you. So you don’t need to worry about editing your bash_profile. Good news for non-terminal folks.
Hope you guys liked it. Thanks for reading.