Google Answers Logo
View Question
 
Q: Programming language comparison ( Answered 5 out of 5 stars,   3 Comments )
Question  
Subject: Programming language comparison
Category: Computers > Programming
Asked by: lizardnation-ga
List Price: $5.00
Posted: 08 Jun 2002 09:40 PDT
Expires: 15 Jun 2002 09:40 PDT
Question ID: 23827
Hello,

I'm seeking a comparison of programming languages in a pure Linux
environment which compares mostly performance in an Apples to Apples
method.

Something that would help in either choosing an overall language to
standardize on or to choose an appropriate language for a particular
task that it's more suitable for.

I know the above is vague, there's a benefit from keeping it this way.
:-)

I'm interested in C, C++, Java and Perl.  

/Lizardnation
Answer  
Subject: Re: Programming language comparison
Answered By: libronaut-ga on 08 Jun 2002 10:56 PDT
Rated:5 out of 5 stars
 
Hi Lizardnation!

I believe I have several resources for you. I found the most
comprehensive by using google to search "performance comparison C C++
Perl Java".

[http://www.ipd.uka.de/~prechelt/Biblio/jccpprtTR.pdf]
This is a comprehensive white paper comparing the above languages as
well as some others -- its conclusion seems to favor scripting
languages.

[http://sunsite.ee/java/whitepaper/java-whitepaper-10.html#HEADING10-8]
This paper is extremely pro-Java! It has a helpful chart demonstrating
which features exist and do not exist, although the text in the chart
is a little hard to read.

[http://www.willcam.com/perl_vs_java.html]
Here's a chart comparing some other Perl/Java/C/C++ features. 

As you can see, the "performance" evaluations seem to depend a great
deal on what one is looking for, and what particular activities or
features the comparer requires.


It seems that there are also a number of comparisons of C++ and Java
alone, which you may or may not find interesting:

[http://www.javaworld.com/javaworld/jw-02-1998/jw-02-jperf.html]

Concludes that Java can be as fast as C++ if used with a just-in-time
(JIT) compiler.

[http://www.cs.colostate.edu/~cs154/PerfComp/]
This article comes to precisely the opposite conclusion, and provides
hard data, but seems only to refer to Java with a JVM compiler.

[http://www.sosnoski.com/Java/Compare.html]
The author of this article, it should be noted, runs a company
specializing in Java solutions.

I hope this is what you're looking for! Please don't hesitate to ask
for clarification if I've misunderstood or been unclear.

Libronaut
lizardnation-ga rated this answer:5 out of 5 stars
Great answer! Thanks for the comments which do play a big role in
summerizing and attracting ones attention to the content. :-)

Comments  
Subject: Re: Programming language comparison
From: libronaut-ga on 08 Jun 2002 11:41 PDT
 
Hi again,

Just realized that there is one in there that doesn't use Linux as the
base operating system for the evaluation. But I have found a
replacement that does!

http://www.bagley.org/~doug/shootout/method.shtml

Sorry about that!

Libronaut
Subject: Re: Programming language comparison
From: alexvn-ga on 12 Jun 2002 21:37 PDT
 
In order to execute performance tests you can use C/C++ Perfometer :

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3512&lngWId=3

http://alexvn.freeservers.com/s1/perfometer.html

Best Regards.
   Alex
Subject: Re: Programming language comparison
From: lizardnation-ga on 13 Jun 2002 15:12 PDT
 
Hello Alexvn,

Thanks for the resource. :-)

/Lizardnation

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy