no. Go language can also: 1. Develop distributed systems, database agents, middleware, etc., such as Etcd. 2. Carry out network programming, including Web applications, API applications, and downloaded applications. Go's built-in net/http package basically implements all the network functions we usually use. 3. Perform database operations. 4. Develop cloud platforms. Currently, many foreign cloud platforms are using Go for development.
The operating environment of this tutorial: Windows 7 system, GO version 1.18, Dell G3 computer.
Go (also known as Golang) is a statically strongly typed, compiled, concurrent programming language with garbage collection capabilities developed by Google.
Go language can not only develop the server side, but can also do other development.
Development that Go language can do:
Go language has attracted the attention of many developers and been widely used since the release of version 1.0. Go The simplicity, efficiency, and concurrency features of the language have attracted many traditional language developers to join, and the number is increasing.
In view of the characteristics and original design intention of the Go language, As a server programming language, the Go language is very suitable for processing logs, data packaging, virtual machine processing, file systems, distributed systems, database agents, etc.;In terms of network programming, Go language is widely used in Web applications, API applications, download applications, etc.;In addition,Go language is also suitable for in-memory databases and cloud In the platform field, many foreign cloud platforms are currently developed using Go.
Companies using go language
Now more and more companies are beginning to use the Go language to develop their own services. At the same time, many services and applications developed using the Go language have been born, such as Docker, k8s, etc. Let’s take a look. , which big companies are using Go language.1) Google
As the Google company that created the Go language, of course it will support the Go language. Google has many open source projects developed based on Go, such as kubernets and docker.2) Facebook
Facebook is also using the Go language. For this reason, they have also established an open source organization facebookgo on Github. You can access and view Facebook's open source projects through https://github.com/facebookgo, the most representative of which is the famous smooth restart tool grace.3) Tencent
Tencent has already implemented Docker on a scale of 10,000 units in 15 years. Because Tencent's main development language is C/C, it is much more convenient and has many advantages to use the Go language. However, the accumulated C/C code is difficult to transform and I dare not move it, so I mainly try to use Go in new businesses. .4) Baidu
Baidu mainly uses Go language in operation and maintenance. For example, a BFE project of Baidu operation and maintenance is mainly responsible for the access of front-end traffic. Secondly, Even the server side of Baidu messaging system also uses Go language.5) Qiniu Cloud
Qiniu Cloud is the first company in China to choose Go language as its server. As early as 2011, when the syntax of the Go language was not completely stable, Qiniu Cloud had already chosen Go as the main language of the storage server.6) Jingdong
Jingdong Cloud message push system, cloud storage, and the list page of Jingdong Mall are all developed using Go language.7) Xiaomi
Xiaomi’s support for the Go language lies in the open source operation and maintenance monitoring system. Its official website is http://open-falcon.org /. In addition, teams such as Xiaomi Interactive Entertainment, Xiaomi Mall, Xiaomi Video, and Xiaomi Ecological Chain are all using the Go language.8) 360
360 There are also many uses of the Go language, such as the open source log search system Poseidon, which you can access through https://github.com/ Check Qihoo360/poseidon, and 360’s push team is also using Go language.9) Others
In addition to the above, many companies have begun to try to use Go language, such as Meituan, Didi, Sina, etc.Sina Weibo: Middleware and elastic scheduling are written in Java and Go, and Weibo video transcoding and storage services are written in Go.
. . . .
The strength of the Go language is that it is suitable for developing network concurrency services, such as message push, monitoring, containers, etc., so most companies use it on high-concurrency projects. Golang will be preferred as the development language.
【Related recommendations: Go video tutorial, Programming teaching】
The above is the detailed content of Can go language only develop server side?. For more information, please follow other related articles on the PHP Chinese website!