A Pragmatic Comparison of Eight Different Programming Languages
Publish Year: 1403
Type: Conference paper
Language: English
View: 47
This Paper With 11 Page And PDF Format Ready To Download
- Certificate
- I'm the author of the paper
Export:
Document National Code:
CELCONF04_127
Index date: 11 March 2025
A Pragmatic Comparison of Eight Different Programming Languages abstract
This paper investigates the performance of eight popular programming languages: Go, Kotlin, Objective-C, Perl, Rust, Python, Ruby, and Swift. To conduct this comparison, a base code implementing the matrix inversion algorithm using the Gauss-Jordan method was written in C++ and then translated into the eight aforementioned languages. The base code involves generating a random matrix, calculating its inverse, and measuring execution time and CPU usage. Additionally, the executable file size of each program was recorded to provide a comprehensive comparison. Based on our findings Go-lang and Rust are the fastest in execution, taking around 23 seconds, while Kotlin, Ruby, Swift, and Perl are significantly slower, with some exceeding 1000 seconds. Python has the lowest CPU usage, showing high efficiency, followed by Go-lang and Rust. Perl, Ruby, and Swift use much more CPU, indicating inefficiency. In terms of executable file size, Rust is the most efficient, producing the smallest files, while Python's files are the largest, likely due to its runtime dependencies. We present the findings of this analysis to assist developers in selecting an appropriate programming language for their projects. Through a detailed analysis and comparison of these eight languages, readers can gain a better understanding of how their choices impact software performance and system efficiency. This study not only highlights the operational differences among the various languages but also identifies the advantages and disadvantages of each in different scenarios.
A Pragmatic Comparison of Eight Different Programming Languages Keywords:
A Pragmatic Comparison of Eight Different Programming Languages authors
Alireza Jomeiri
Faculty of Computer Engineering, Iranian eUniversity, Tehran
Alireza Hosseini Kashani
Faculty of Computer Engineering, Iranian eUniversity, Tehran
Ali Abbasi Bonyadabad
Faculty of Computer Engineering, Iranian eUniversity, Tehran
SaeedReza AlipourFard
Faculty of Computer Engineering, Iranian eUniversity, Tehran
Behzad Fattahi
Faculty of Computer Engineering, Iranian eUniversity, Tehran
Milad Memarian
Faculty of Computer Engineering, Iranian eUniversity, Tehran