about golang

https://golangbyexample.com/about-golang/

Overview

This is the first tutorial that will give you an introduction to the GOLANG language. Go is a statically typed, compiled programming language. It is an open-source language and was developed at Google by

history

GO had its first stable release in 2011.

What makes GO different

simple
go only has 25 keywords
Static Type Language
gc
Built In Concurrency
Goroutine – lightweight independent execution to achieve concurrency/parallelism. Its size starts at 8kb as compared to the JAVA thread whose size is around 1 MB.
Channels – provides synchronization and communication between goroutines.
Standard Library

Comparison with other programming languages

go vs java
go vs c++
go vs python

Disadvantages of GO

go don’t have classes

Conclusion:

To summarize what we have discussed so far

Go is static typing with performance and runtime efficiency matching C/C++
Really simple syntax and easy to write code as in Python, Ruby
Inbuilt concurrency with a good standard library and rich tooling.
GO is not a pure OOP language with a different style of error handling as compared to other mainstream languages
This is the basic introduction to golang. Hope you have liked this article. Please share feedback or improvements or mistakes in the comments.

c的性能,python的简洁,天然的并发

posted @ 2022-03-06 10:37  叶常落  阅读(16)  评论(0编辑  收藏  举报