Go Language Introduction

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed.

Go Language Introduction

The go language is the second open source programming language that Google released in 2009. Go language Features: quasi-programming of multi-processor applications is optimized, using the Go compiler can be comparable to C or C + + code speed, but also has the Python interpretation of the language concise and development efficiency.

The following paragraph is taken from the knowledge: (including your own modifications)

Benefits of Go:

Can be compiled into machine code, not dependent on other libraries

Static type language, with a sense of dynamic language. Static language is can be compiled at the time to check out the most hidden problems, dynamic language feeling is that a lot of packages can be used, write up a high efficiency

The language level supports concurrency, which is the biggest feature of the go language, innate support for concurrency (innate genes and subsequent cosmetic surgery are differentiated)

Built-in runtime, supports garbage collection mechanism

Easy to learn, C-language gene, go language has 25 keywords, but very strong expression ability

Rich Standard library, built-in large library, especially network library is very powerful

Built-in powerful tools to make review simple, so that the code format is identical

Cross-platform compilation, can not rely on the system information

Built-in C support

Go fit:

Server programming

Distributed system, database agent

Network programming

Cloud Platform, the domestic seven Qiniu storage key service is to use the Go language development

The downside of Go:

Go import package does not support version, upgrade is easy to cause the project is not operational, so you need to control the corresponding version information

Go Gotoutine once started, the different goroutine switch between the program control, runtime scheduling, the need for rigorous logic, otherwise goroutine sleep, over a period of time logic ended, suddenly came out and executed, will lead to logic errors and other situations

The GC delay is a bit large

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.