Is Golang actually as fast as C/C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is Golang actually as fast as C/C++?

1st Jan 2021, 4:54 PM
Isken
Isken - avatar
3 Answers
+ 3
Isken I don't think so. This is my source https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-gpp.html Also click on the languages mentioned on the top of the page to see comparison with other languages. While Golang was slower than C++ and Rust, it was as fast as C# and Java and much much faster than Python. The main reason is that Golang uses something called garbage collection for memory management which has some performance penalties, while C++ and Rust don't use it.
1st Jan 2021, 6:07 PM
XXX
XXX - avatar
+ 2
We'll try and see Try to make an app in c++ Then make an app in go Then test and see the startup
1st Jan 2021, 5:30 PM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
0
I think Golang is "the fastest" programming language in multithreading. Those benchmarks are made on one thread.
11th Jan 2021, 2:31 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar