Home > Article > Operation and Maintenance > Is docker written in Go language?
Docker is written in the Go language; the language is designed as a giant central server and system programming language used to build Web servers, storage clusters or similar purposes. It has mature Web technologies such as Beego, Gin, and Iris. Development Framework.
The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.
Go language is a statically strongly typed, compiled, concurrent programming language with garbage collection function. It is often used for Web program development, and Has mature web development frameworks, such as Beego, Gin, Iris, etc.
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Go was developed by Robert Griesemer, Rob Pike, Ken Thompson from the end of 2007, and later joined by Ian Lance Taylor, Russ Cox and others. It was finally open sourced in November 2009 and released in early 2012. At that time, Go 1 stable version was released. The development of Go is now completely open and has an active community.
The Go language is designed as a systems programming language for use on giant central servers running web servers, storage clusters, or similar purposes.
For the field of high-performance distributed systems, Go language undoubtedly has higher development efficiency than most other languages. It provides massive parallel support, which is perfect for game server development.
Go language description
The syntax of Go is close to the C language, but the declaration of variables is different. Go supports garbage collection. Go's parallel model is based on Tony Hall's Communicating Sequential Process (CSP). Other languages that adopt a similar model include Occam and Limbo, but it also has features of Pi operations, such as channel transmission. Plugin support is opened in version 1.8, which means that some functions can now be dynamically loaded from Go.
Compared with C, Go does not include functions such as enumeration, exception handling, inheritance, generics, assertions, virtual functions, etc., but it adds slice type, concurrency, pipes, garbage collection, Language-level support for features such as interfaces. The Go 2.0 version will support generics, but has a negative attitude towards the existence of assertions, and also defends that it does not provide type inheritance.
Unlike Java, Go has built-in associative arrays (also known as hash tables (Hashes) or dictionaries (Dictionaries)), just like string types.
Recommended learning: "docker video tutorial"
The above is the detailed content of Is docker written in Go language?. For more information, please follow other related articles on the PHP Chinese website!