Go Language Brief
- Emerging: The second open source programming language released by Gogle in 2009
- Characteristics:
- The syntax is simple: the grammar standard is strict, is suitable for the development staff short time efficient service side development.
- Concurrency model: Goroutine is the most prominent feature of Go, using the method of class association to handle concurrency, carrying channel to implement CSP model
- Memory allocation: Go selects tcmaclloc for high concurrency memory management and allocation
- Garbage collection: Preventing the occurrence of oom pits
- Static linking: Simplifies deployment and release operations, greatly reducing the dependency on code publishing
- Standard library: A well-functioning standard library that helps reduce learning costs
- Toolchain: Both compilation, formatting, error checking, help documentation and corresponding test support are perfect
- Summarize:
The go language, as a modern development language, uses its high concurrency characteristics to facilitate the development of the server, and in combination with its own grammatical norms, can better help the development of the API, as a compiler development language. There are some high-efficiency gaps in web development, however, the asynchronous concept is packaged synchronously to better handle concurrency, so it is more suitable for current server development.
Go Environment installation
Official site: https://golang.org/dl/
The official station is now inaccessible and offers the following download sites: HTTPS://STUDYGOLANG.COM/DL
Developing IDE Links: http://www.jetbrains.com/go/
Linux under Configuration Go
- Download the corresponding: go1.9.2.linux-amd64.tar.gz
- Tar XF go1.9.2.linux-amd64.tar.gz–c/usr/local
- Setting environment variables
Go Language Development Tutorials