Time Comparing between Java and C++ Software

DOI: 10.4236/jsea.2012.58072   PDF   HTML   XML   8,983 Downloads   13,535 Views   Citations


This paper construct a comparison between two main software’s used in programming applications that are Java and C++, the comparison operation includes the time needed to perform some algorithm i.e. speed of operation, flexibility to adjusting some code, and efficiency. The same code is used to compare between the two software to determine which one is better. It is found that C++ needs less time to execute the same code comparing with Java. Java needs about 10% excess time to execute the same code segment comparing to C++.

Share and Cite:

A. Alnaser, O. AlHeyasat, A. Abu-Ein, H. Hatamleh and A. Sharadqeh, "Time Comparing between Java and C++ Software," Journal of Software Engineering and Applications, Vol. 5 No. 8, 2012, pp. 630-633. doi: 10.4236/jsea.2012.58072.

Conflicts of Interest

The authors declare no conflicts of interest.


[1] P. Lutz, “Comparing Java vs C/C++ Efficiency Differences to Inter-Personal Differences,” Communications of the ACM, Fakult at fur Informatik University, Karlsruhe, 1999.
[2] S. Peter, “Numeric Performance in C, C# and Java Peter Sestoft,” IT University of Copenhagen, Copenhagen, 2010.
[3] E. Dirk and F. Romain, “Rcpp: Seamless R and C++ Integration,” 2010. http://dirk.eddelbuettel.com/
[4] W. Peng, M. Sam, M. J. Moreira and G. Manish, “Efficient Support for Complex Numbers in Java,” ACM 1999 Java Grande Conference, San Francisco, 12-14 June 1999, pp. 109-118.
[5] J. E. Moreira, S. P. Midkiff, M. Gupta, P. V. Artigas, M. Snir and R. D. Lawrence, “Java Programming for High Performance Numerical Computing,” IBM Systems Journal, Vol. 39, No. 1, 2000, pp. 21-56. doi.org/10.1147/sj.391.0021
[6] J. Glenn, C. M. Clement, S. Q. Snell and G. Vladimir, “Design Issues for Efficient Implementation of MPI in Java,” ACM 1999 Java Grande Conference, San Francisco, 12-14 June 1999, pp. 58-65.
[7] H. Michi and S. Mark, “Choosing Middleware: Why Performance and Scalability Do (and Do Not) Matter,” ZeroC, Inc., Palm Beach Gardens, 2011.

comments powered by Disqus

Copyright © 2020 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.