Return to search

Run-time comparison C++ vs. Java

C++ is one of the most commonly used programming languages in academic and professional environments. Java is a relatively new language that is rapidly gaining popularity and acceptance. Java's designers claim that Java offers all the functionality of C++ and more. Java's syntax is similar to C++, but Java code is not compatible with C++. Java offers platform independence and better support for internet-oriented applications. Platform independence may come at a price. A major concern regarding any language is performance.This thesis looks at the performance of Java and C++. A comparison is made of C++ and Java runtimes for a simple algorithm (bubblesort). It covers the differences in compilation of an application developed in C++ versus an application developed in Java. It reports the execution time of an algorithm written in both languages. / Department of Computer Science

Identiferoai:union.ndltd.org:BSU/oai:cardinalscholar.bsu.edu:handle/186400
Date January 1999
CreatorsJones, Linwood D.
ContributorsNelson, Van C.
Source SetsBall State University
Detected LanguageEnglish
Formativ, 25 leaves : ill. ; 28 cm.
SourceVirtual Press

Page generated in 0.002 seconds