By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,486 Members | 1,696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,486 IT Pros & Developers. It's quick & easy.

Objective evidence comparing languages?

P: n/a
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.

The last time I saw such a study was almost 10 years ago, compared only
C and Ada, and was found here:

http://www.rational.com/support/tech...c_and_ada.html

That URL is long dead but the contents are still available from the URL
via the wayback machine at http://www.archive.org.

Where are the recent equivalent studies?

Please, nobody reply with "X is better than Y because..." - I'm not
looking for opinions, I'm searching for studies that objectively
demonstrate the differences between languages.

Thanks,

David Mathog
ma****@caltech.edu

Nov 15 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
[comp.lang.java deleted because Google Groups complains that it cannot
be posted to.]

David Mathog wrote:
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.

[snip]

All of these are still notoriously difficult to quantify and highly
situationally dependent. See the C++ FAQ for our standard answer:

http://www.parashift.com/c++-faq-lit...e.html#faq-6.5

Cheers! --M

Nov 15 '05 #2

P: n/a
David Mathog wrote:
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.
... Please, nobody reply with "X is better than Y because..." - I'm not
looking for opinions, I'm searching for studies that objectively
demonstrate the differences between languages.


What you are asking for is impossible, because of the points you are
looking for. Points 1 and 4 depend of the programmer and their way of
thinking (type of education plays a major role here), point 5 depends on
the application and point 2 depends on the foresight and skills of the
original programmer. The only real comparison can be done for point 3.

Stavros
Nov 15 '05 #3

P: n/a


David Mathog wrote On 11/10/05 11:02,:
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.


A CACM article from about, oh, maybe six years ago
compared C, C++, and Java on a couple of these measures.
Sorry for the imprecision of the reference.

--
Er*********@sun.com

Nov 15 '05 #4

P: n/a

"David Mathog" <ma****@caltech.edu> wrote
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.

The last time I saw such a study was almost 10 years ago, compared only C
and Ada, and was found here:

http://www.rational.com/support/tech...c_and_ada.html

That URL is long dead but the contents are still available from the URL
via the wayback machine at http://www.archive.org.

Where are the recent equivalent studies?

Please, nobody reply with "X is better than Y because..." - I'm not
looking for opinions, I'm searching for studies that objectively
demonstrate the differences between languages.

It's very hard to come up with an objective metric.

For instance, for criterion 1, are you looking at university undergraduates,
programmers in fairly routine commercial systems type jobs, scientific
programmers, programmers for orgainisations like IBM?
If we choose the first, do we mean computer science graduates from top
universities, or are we talking about physicists and biologists who want to
do a little bit of programming as a supplement to their main interest?

Nov 15 '05 #5

P: n/a
On Thu, 10 Nov 2005 08:02:24 -0800, David Mathog <ma****@caltech.edu>
wrote in comp.lang.c:
I'm looking for studies that objectively compare various languages to
measure the following attributes:

1. Ease of writing new code (better== faster, better==fewer bugs).
2. Ease of maintaining existing code.
3. Portability.
4. Time to learn language "adequately".
5. Speed of resulting code.

The last time I saw such a study was almost 10 years ago, compared only
C and Ada, and was found here:

http://www.rational.com/support/tech...c_and_ada.html

That URL is long dead but the contents are still available from the URL
via the wayback machine at http://www.archive.org.

Where are the recent equivalent studies?

Please, nobody reply with "X is better than Y because..." - I'm not
looking for opinions, I'm searching for studies that objectively
demonstrate the differences between languages.

Thanks,


Learn how to use a proper signature line, please.

Your question is off-topic in all three groups that you cross-posted
it to. Language comparisons in language specific groups tend to
quickly degenerate into advocacy and flames. And of course, C++ and
Java are off-topic in comp.lang.c, Java at least is off-topic in
comp.lang.c++, etc.

If you are looking for a serious discussion I would suggest
comp.programming and comp.software.eng as your best candidates.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Nov 15 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.