A Java vs. C++ performance evaluation: A 3D modeling benchmark

8Citations
Citations of this article
26Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Along the years robotics software and applications have been typically implemented in compiled languages, such as C and C++, rather than interpreted languages, like Java. This choice has been due to their well-known faster behaviors, which meet the high performance requirements of robotics. Nevertheless, several projects that implement robotics functionality in Java can be found in literature and different experiments conduced by computer scientists have proved that the difference between Java and C++ is not so evident. In this paper we report our work on quantifying the difference of performance between Java and C++ and we offer a set of data in order to better understand whether the performance of Java allows to consider it a valid alternative for robotics applications or not. We report about the execution time of a Java implementation of an algorithm originally written in C++ and we compare this data with the performance of the original version. Results show that, using the appropriate optimizations, Java is from 1.09 to 1.51 times slower than C++ under Windows and from 1.21 to 1.91 times under Linux. © 2012 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Gherardi, L., Brugali, D., & Comotti, D. (2012). A Java vs. C++ performance evaluation: A 3D modeling benchmark. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7628 LNAI, pp. 161–172). https://doi.org/10.1007/978-3-642-34327-8_17

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free