Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: There's Only One Way To Do It

by tilly (Archbishop)
on Apr 07, 2004 at 15:38 UTC ( [id://343306]=note: print w/replies, xml ) Need Help??


in reply to There's Only One Way To Do It

A year or two ago I ran across an interesting study on exactly this that was done several years ago. I can't find the study right now (I'd appreciate it if anyone who knows the one I'm talking about could post it), but the idea was that they took a reasonably complex but well defined problem and had it implemented by a variety of programmers in a variety of languages (C and Perl were in the list). They then compared how long the solutions took to implement, and how rapidly they ran.

As you might expect, the most rapidly implemented solutions were the ones done in the scripting languages. The fastest solutions were in C.

As you might not expect, the slowest solutions were in C. Furthermore the variation both in time to implement and runtime performance were far larger in C than in scripting languages.

What seemed to happen is that the scripting languages provided an obvious good approach to the problem, and everyone took that with decent results. In C there were many choices to make, with more difficult to see consequences for time to implement and runtime performance. (Which is exactly what you are talking about having happen.)

I'd wager that Java would have resembled C in this particular test, but without the performance.

Replies are listed 'Best First'.
Re: Re: There's Only One Way To Do It
by jdporter (Paladin) on Apr 07, 2004 at 17:40 UTC
      Thank you for the reference. Having re-read the results, my summary was inaccurate in a number of particulars (one reason that I try to double-check information before I post). However my memory was in some sense "morally correct".

      I'd suggest that anyone who finds the topic interesting should skim the original paper and discover for yourself how I was wrong, and in what sense I was right.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://343306]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-24 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found