This is a created article in which the information may have evolved or changed. Go: Google took 20% time to develop the go language and launched its first version in 09. (1) Parallel and distributed support;--multicore and clustering are the typical features of the internet era;--as the C language of the internet era, it is necessary to make this language operation cluster as easy as a single machine; (2) Efficiency--development efficiency, compiling efficiency, execution efficiency; go: Features 1, concise and concise variable declaration-for example: i:=10, you can declare more than one variable at a time-for example: i,j,k:=1,2,3; Concise If for example: if result>0{...} ; Switch ... No break is required, 2, parallel goroutine is also called "co-process" (in Java, there is no thread in the go), the number of go can be "unlimited" to create the process. Co-process--can be understood as a lightweight thread. The cost of the coprocessor runtime is much smaller than the thread. Communication between multiple processes in the Go language, (1) static variables (2) communicate with channel channels. 3, garbage collection mechanism
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.