52ky 发表于 2022-4-9 14:57:00

黑马Go语言基础

Go语言的优点是可以直接编译成机器码,无需依赖其他库。 glibc 的版本有一定的要求。 通过在其上抛出一个文件来完成部署。 静态类型语言,但它有动态语言的感觉。 静态类型语言是可以在编译时检查出大多数隐藏的问题。 动态语言的感觉就是可以使用的包很多,写起来效率很高。 语言级别支持并发。 这是 Go 最大的特点,自然支持并发。 Go是基因里支持的并发,可以充分利用多核,并发好用。

(The advantage of go language is that it can be directly compiled into machine code without relying on other libraries. Glibc version has certain requirements. Deploy by throwing a file on it. Statically typed language, but it has the feeling of dynamic language. Statically typed languages can detect most hidden problems at compile time. The feeling of dynamic language is that there are many packages that can be used, and the writing efficiency is very high. Concurrency is supported at the language level. This is the biggest feature of go, which naturally supports concurrency. Go is a concurrency supported by genes. It can make full use of multi-core and easy to use concurrency.)






页: [1]
查看完整版本: 黑马Go语言基础