Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the characteristics of Golang

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you what the characteristics of Golang, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to understand it!

The Go language was born at Google and was written by three masters in the computer field, Rob Pike, Ken Thomp son and Robert Griesemer. Because of its pedigree, Go attracted the attention of a large number of developers at the beginning of its birth. But the language advantage of Go is the reason why it still has a large number of followers.

1. Simple and efficient

As a rising star, Go language has the characteristics of concise grammar and high execution efficiency at the language level; by contrast, Java, Python and PHP are inefficient, C++ is too troublesome, and Go can be both simple and efficient.

2. High concurrency Go

Language focuses on concurrency and is born for concurrency, and its starting point is to aim at the high concurrency and distributed application scenarios in the era of big data + cloud computing.

3, cross-platform

Executable programs can be compiled and generated directly on different platforms, the basic memory footprint is very small, small applications take a few M, and large applications take tens of M to run well, which makes golang run well on small devices such as raspberry pie, which is much better than java.

Domestic Application of Golang language

Jinri Toutiao

More than 80% of Jinri Toutiao's current back-end services run on services built by Go. The number of microservices exceeds 100, peak QPS exceeds 7 million, and daily processing requests exceed 300 billion, which may be the largest Go application in the industry.

These enterprises are using Go:

1. Google does not need to be introduced. As a company that develops the Go language, it will not give way. Google has many excellent projects based on Go, such as https://github.com/kubernetes/kubernetes, and you can also view more Google's Go open source projects on Github.

2. FacebookFacebook is also in use, and for this reason, they have set up an open source organization facebookgo on Github. You can visit and view facebook open source projects through https://github.com/facebookgo, such as grace, which is famous for smooth upgrades.

3. Tencent Tencent, as a large domestic company, still dares to try, especially in the part of Docker containerization. They have done docker scale practice in 15 years. For details, please refer to http://www.infoq.com/cn/articles/tencent-millions-scale-docker-application-practice.

4. Baidu is known to use Baidu on the operation and maintenance side, which is a BFE project of Baidu operation and maintenance, which is responsible for the access of front-end traffic. Their leaders shared in 2016, you can take a look at this http://www.infoq.com/cn/presentations/application-of-golang-in-baidu-frontend.

5. Beijing, Tokyo, Dongyun message push system, cloud storage, and JD.com Mall are all developed using Go.

6. Xiaomi's support for Golang is better than the open source of operation and maintenance monitoring system, that is, http://open-falcon.com/. In addition, teams such as Xiaomi Entertainment, Xiaomi Mall, Mi Video and Xiaomi Ecological chain are all using Golang.

7. 360360 there is also a lot of use of Golang, one is the open source log search system Poseidon, hosted on Github.

Why learn the Go language?

First of all, Golang has the advantages of simple and efficient, high concurrency and cross-platform. Secondly, Golang has a wide range of applications.

1, server programming, in the past, if you use C or C++ to do those things, it is appropriate to use Go to do, such as dealing with logging, data packaging, virtual machine processing, file system and so on.

2. Distributed system, database agent and so on.

3. Network programming, which is the most widely used at present, including Web application, API application and download application.

4. Main memory database, part of groupcache,couchbase developed by google some time ago.

5. Cloud platform. At present, many foreign cloud platforms are developed by Go, part of CloudFoundy, and apcera cloud platform developed by the former technical director of VMare himself. 6. The development of the game server and so on. Secondly, with the development of Golang language, the demand for Go language practitioners in domestic enterprises is also increasing rapidly.

Golang has also become the programming language TOP1 that programmers want to learn most.

These are all the contents of this article entitled "what are the characteristics of Golang?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report