Data di Pubblicazione:
2012
Citazione:
(2012). A Java vs. C++ performance evaluation: a 3D modeling benchmark [conference presentation - intervento a convegno]. Retrieved from http://hdl.handle.net/10446/27936
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.
Tipologia CRIS:
1.4.01 Contributi in atti di convegno - Conference presentations
Elenco autori:
Gherardi, Luca; Brugali, Davide; Comotti, Daniele
Link alla scheda completa:
Titolo del libro:
Simulation, Modeling, and Programming for Autonomous Robots: Third International Conference. SIMPAR 2012, Tsukuba, Japan, November 2012.Proceedings.
Pubblicato in: