Is Golang actually as fast as C/C++? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

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

1st Jan 2021, 4:54 PM
Isken
Isken - avatar
3 Respostas
+ 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