Language CPU (Elapsed seconds) Code (B) Rust 7.585 1306.1 Go 10.483 959.5







Given the computers are getting faster and cheaper but software becoming more complex and maintenance is expensive, I would use Go for an enterprise application.



Which language would you choose and for what kinds of applications?

Recently, I have been spending some time learning both Go and Rust languages and really excited about these languages evolving differently to solve different problems.I think Rust will attract developers from C, C++, Fortran and will be used for developing high performance systems like gaming, browsers, telco servers, distributed computing systems as well as low level, cpu efficient embedded/micro computers.Go seems to be for the Python, Ruby and Java developers and will be used for enterprise applications, mobile apps and application servers.With my 10+ years of experience in C++ writing applications for telecom service providers where latency and throughput is very important, I really like Rust which simplifies C++ , eliminates memory corruption, improves compile time significantly and being claimed asToday I came across Computer Language Benchmark comparing Rust and Go from one of the blog I was reading. These are microbenchmark and gives rough idea about how these languages perform for specific algorithm implementation.To get the comparative data across all these algorithms, I calculated average for combined these algorithms for both the languages.Results: Average Elapsed seconds and code written for each language: