Go Programming Language

Go Programming Language

github.com

3

About this website

Go (often referred to as Golang) is a free and open-source statically typed, compiled programming language designed at Google by Robert Griesemer, Rob Pike, and Ken Thompson in 2007 and publicly announced in 2009. Go was created to address the challenges of building scalable, reliable, and efficient software at Google's scale, combining the development speed of dynamic languages like Python with the performance and safety of compiled languages like C and C++. Version 1.0 was released in 2012, and the current version is 1.22 (2024). Key features: simplicity: Go has a deliberately small language specification with only 25 keywords, no exceptions (uses explicit error return values), no classes (uses structs and interfaces), and no header files. This makes Go easy to learn and code easy to read. Goroutines: lightweight threads of execution managed by the Go runtime (not the OS), weighing only 2 KB of stack initially. Millions of goroutines can run concurrently on a single machine, created with the 'go' keyword. Channels: typed conduits for communication and synchronization between goroutines, following the principle 'do not communicate by sharing memory; share memory by communicating.' Standard library: comprehensive standard library covering networking (net/http), cryptography (crypto/tls), testing (testing), I/O, encoding (encoding/json), and more. Single binary: Go compiles to a single static binary with no external dependencies. Fast compilation: compiles programs in seconds. Garbage collection: low-latency concurrent GC (sub-millisecond pauses). Cross-compilation: compile for any OS/architecture from any host (GOOS, GOARCH). Modules: dependency management via go.mod files and module proxy. Go toolchain includes go build, go test, go vet, go fmt, go doc. BSD-3-Clause.

Tags & Categories

Statistics

3
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!