Home > Backend Development > Golang > Why is golang called

Why is golang called

PHPz
Release: 2023-05-10 18:13:07
Original
678 people have browsed it

Why is Golang called the Go language?

Go language, also known as Golang, is an open source programming language developed by Google. Unlike other programming languages, the origin of the Go language is not well known, and its name is even more confusing. Why is Golang called the Go language?

First, let us review the origin of the Go language. At the end of 2007, Google developed a new programming language designed to solve some problems with existing languages. The goal is to create a language that is easy to understand, use, and read. Additionally, the language should have efficient compilation speed and concurrency support.

The design of the Go language was completed by three engineers, namely Robert Griesemer, Rob Pike and Ken Thompson. Robert Griesemer is an engineer with a passion for programming languages. He has been involved in the design and implementation of the D language. Rob Pike is a Unix system developer and computer scientist who worked on the Plan 9 and Inferno operating systems. Ken Thompson is a legend in the field of computer science. He is the developer of the Unix operating system and B language, and the co-inventor of C language.

At that time, the three engineers had not yet given this new language a name. According to reports, they considered several names, including Sg and Si, but these names were unavailable. Later, they decided to use a word as the name of the language. The word must be simple, short, easy to remember and have no existing meaning. Finally, after a heated discussion, they decided to call the new language "Go".

So, why is this language called "Go"? It is said that the name of the Go language is derived from the English word "goroutine". In Go language, goroutine is a lightweight thread that can run in a smaller stack. It makes concurrent programming easier and allows fuller utilization of multi-core processors. Therefore, "goroutine" is one of the most important features of the Go language.

In order to avoid conflict between the language name and other products or services, Google did not name the Go language "Go" before it was officially released. Instead, it uses the name "golang" to express the meaning of the language. The name is an abbreviation that includes the name of the Go language and the domain name of the website. Although this name is becoming more and more common, it is just a way of saying that the official name of the Go language has always been "Go".

In short, Golang is called the Go language because the name is concise, short and easy to remember, and the origin of its name is because of one of the most important features of the Go language-goroutine. Go language has become a widely used programming language and has attracted the attention and love of more and more developers.

The above is the detailed content of Why is golang called. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template