Research ArticleOpen AccessGoogle Scholar indexed
Time Comparing between Java and C++ Software
Computer Science Department, Ajlun University College, Al-Balqa’ Applied University, Amman, Jordan
Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
Computer Science Department, Ajlun University College, Al-Balqa’ Applied University, Amman, Jordan
Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
- 1 Computer Science Department, Ajlun University College, Al-Balqa’ Applied University, Amman, Jordan
- 2 Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
- 3 Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
- 4 Computer Science Department, Ajlun University College, Al-Balqa’ Applied University, Amman, Jordan
- 5 Computer Engineering Department, Faculty of Engineering Technology, Al-Balqa’ Applied University, Amman, Jordan
Journal of Software Engineering and Applications·Volume 05 (2012)·Pages 630–633·Published 28 August 2012·DOI10.4236/jsea.2012.58072
Copy link · social · email
Abstract
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++.
KeywordsJavaC++Algorithm SpeedCode Flexibility
- P. Lutz, “Comparing Java vs C/C++ Efficiency Differences to Inter-Personal Differences,” Communications of the ACM, Fakult at fur Informatik University, Karlsruhe, 1999.
- S. Peter, “Numeric Performance in C, C# and Java Peter Sestoft,” IT University of Copenhagen, Copenhagen, 2010.
- E. Dirk and F. Romain, “Rcpp: Seamless R and C++ Integration,” 2010. http://dirk.eddelbuettel.com/
- 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.
- 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
- 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.
- H. Michi and S. Mark, “Choosing Middleware: Why Performance and Scalability Do (and Do Not) Matter,” ZeroC, Inc., Palm Beach Gardens, 2011.