What are the shortcomings of golang?

青灯夜游
Release: 2019-12-27 16:56:04
forward
2300 people have browsed it

What are the shortcomings of golang?

Golang (also known as go language) is a statically strongly typed, compiled, concurrent programming language with garbage collection capabilities developed by Google. It is a simple open source programming language that makes it easy to build simple, reliable, and efficient software.

Features

1. Very fast compilation and running speed

2. Simple and easy to use (concise syntax, rich standard library, comprehensive tools)

3. Native and advanced concurrency model

4. Support multiple programming styles (object-oriented programming and functional programming)

5. Object-oriented programming without inheritance Paradigm (avoiding complex issues related to inheritance)

6. Fully automatic garbage collection mechanism

Advantages

● Comparison with C: Although the execution speed is not as fast as C, but the development efficiency is much better than C.

● Comparison with Java: The execution efficiency is faster than Java, the concurrency model is more advanced than Java, and the code simplicity is also better than Java.

● Comparison with PHP: The performance is much better than PHP, and it is suitable for both web applications and underlying services.

Shortcomings

● The running speed is not as fast as C, but the gap is constantly narrowing

● The maturity of distributed computing is not as good as Erlang

● Does not support custom generic types

● The garbage collection mechanism needs to be improved.

Related recommendations:golang tutorial

The above is the detailed content of What are the shortcomings of golang?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!