$ whois go
Go
first released in 2009 · by Robert Griesemer, Rob Pike, Ken Thompson
$ guessprog --inspect go
- year
- 2009
- paradigm
- procedural
- family
- c like
- memory
- automatic gc
- binding
- static
- safety
- strong
GO(7)
- AUTHORS
- Robert Griesemer, Rob Pike, Ken Thompson
- HISTORY
- Go was designed at Google in 2007 by Robert Griesemer, Rob Pike and Ken Thompson, who were frustrated with slow builds and the complexity of the C++ used for Google's servers. Legend has it the idea took shape while waiting for a large C++ program to compile. They aimed for a small language with fast compilation, garbage collection and built-in concurrency through goroutines and channels. Go was announced as open source in November 2009 and reached version 1.0 in 2012. Its gopher mascot was drawn by Renée French.
- USAGE
- Go is a popular language for cloud infrastructure and backend services: Docker, Kubernetes and Terraform are all written in it. It is widely used for networked services, command-line tools and DevOps tooling.
- SEE ALSO
- Go on Wikipedia ↗
package main
import "fmt"
func main() {
results := make(chan string)
for i := 1; i <= 3; i++ {
go func(id int) {
results <- fmt.Sprintf("worker %d done", id)
}(i)
}
for range 3 {
fmt.Println(<-results)
}
}