Go, also commonly referred to as golang, is a programming language developed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. It is a statically typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays & key-value maps, and a large standard library. The language was announced in November 2009 and is now used in some of Google’s production systems. golang is pretty popular in developing Cloud Computing tools.
Why Go was created?
Fast languages like C, are difficult to work with and not safe. Compiling speed, dependencies and runtime errors are vast. An interpreted language like Ruby is safe but it’s slower and has many dependencies, one of them is the interpreter itself. Also, for Java, for example, a virtual machine is needed to run the code. Javascript and Node.js are wild kids; which are interpreted, weakly-typed and unsafe to work with (although there are some possible directions like TypeScript or compiling directly to Javascript from other safer languages).
Golang advantages:
1. Open source by nature
2. Fast
3. Concurrent(Go-Routine)
4. Cross-platform
5. Garbage collected
6. Reflection
7. Static Code Analysis(GoDoc)
Popular Tools developed in golang:
Docker which is a software platform that allows you to build, test, and deploy applications quickly(via containers) was developed using golang. Kubernetes, Google's orchestration project for Docker, is a Go project, along with the Docker networking project Weave and the Shipyard cluster-management system.
ref:
Go programming language -
How to write go code - https://golang.org/doc/code.html
Effective go -
Why Go was created?
Fast languages like C, are difficult to work with and not safe. Compiling speed, dependencies and runtime errors are vast. An interpreted language like Ruby is safe but it’s slower and has many dependencies, one of them is the interpreter itself. Also, for Java, for example, a virtual machine is needed to run the code. Javascript and Node.js are wild kids; which are interpreted, weakly-typed and unsafe to work with (although there are some possible directions like TypeScript or compiling directly to Javascript from other safer languages).
Golang advantages:
1. Open source by nature
2. Fast
3. Concurrent(Go-Routine)
4. Cross-platform
5. Garbage collected
6. Reflection
7. Static Code Analysis(GoDoc)
Popular Tools developed in golang:
Docker which is a software platform that allows you to build, test, and deploy applications quickly(via containers) was developed using golang. Kubernetes, Google's orchestration project for Docker, is a Go project, along with the Docker networking project Weave and the Shipyard cluster-management system.
ref:
Go programming language -
How to write go code - https://golang.org/doc/code.html
Effective go -
- https://golang.org/doc/effective_go.html
- https://github.com/golang/go/wiki/CodeReviewComments
- https://github.com/bahlo/go-styleguide
- https://medium.freecodecamp.org/here-are-some-amazing-advantages-of-go-that-you-dont-hear-much-about-1af99de3b23a