Comparison of C, Java, Python and Matlab programming languages for Fibonacci and Towers of Hanoi algorithm applications

Resumo

Many programming languages evolved with the development of technology. However, it is still not clear which programming language should be used for which applications since there are not enough comparisons of these languages. The aim of this study is to compare the performances of some of the most frequently used programming languages; C, Java, Python and Matlab for Fibonacci and Towers of Hanoi algorithm applications. These algorithms are chosen for this study because they are both recursive algorithms and are widely used in computer science. Performances of these languages are measured according to the code length, programming effort, runtime efficiency and reliability. The results obtained as a result of these analysis are also shown in this study.

Downloads

Não há dados estatísticos.

Referências

H. Chen, Comparative Study of C, C ++, C# and Java Programming Languages Degree Program of Information Technology, vol. 2, no. 5, 11-39, (2010).

K. Biswa, et al., Comparative analysis of C, FORTRAN, C# and Java programming languages, International Journal of Computer Science and Information Technology vol. 7, no. 2, 1004-7, (2016).

J. E. Sammet, Programming Languages: History and Future , Communication of the ACM, vol. 15, no. 7, (1972). https://doi.org/10.1145/361454.361485

J. K. Ousterhout, Scripting: Higher Level Programming for the 21st century, Computer, vol. 31, no. 3, 23-30, (1998). https://doi.org/10.1109/2.660187

I. Stojmenovic, Recursive algorithms in computer science courses: Fibonacci numbers and binomial coefficients, IEEE Transactions on Education vol. 43, no. 3, 273-276, (2000). https://doi.org/10.1109/13.865200

S. Sinha, The Fibonacci Numbers and Its Amazing Applications, International Journal of Engineering Science Invention, vol. 6, no 9, 7-14, (2017).

M. D. Atkinson, The cyclic towers of Hanoi, Information Processing Letters, vol. 13, no. 3, 118-119, (1981). https://doi.org/10.1016/0020-0190(81)90123-X

R. L. Kruse, C. L. Tondo, and B. P. Leung, Data Structures and Program Design in C, Englewood Cliffs, NJ: PrenticeHall, (1997).

P. Lutz, An empirical comparison of seven programming languages, Computer vol. 33, no. 10, 23-29, (2000). https://doi.org/10.1109/2.876288

Y. F. Hu, R. J. Allan, and K. C. F. Maguire, Comparing the performance of JAVA with Fortran and C for numerical computing, (2000).

M. Sahin, Java, Python Ve Ruby Dillerinin Performans Kar¸sıla¸stırması., Akademik Bilisim 529-532, (2007).

Publicado
2022-12-23
Seção
Artigos