Article View: comp.lang.misc
Article #7053Re: GNU Script isn't fixing something that's broken, so is doomed
From: Robert Sanders
Date: Sat, 05 Nov 1994 16:11
Date: Sat, 05 Nov 1994 16:11
32 lines
2381 bytes
2381 bytes
In article <39g5bg$3tc@csnews.cs.Colorado.EDU>, Tom Christiansen <tchrist@mox.perl.com> wrote: >Since no such beast exist, evidence must at best be circumstantial and >inferred. But similar cases (where you translate a program language X to >language Y) nearly always should worse performance than those which start >out in language Y. I won't dispute that, but... that wasn't the point you made; you said that a program written in language X will run faster than the same program translated from X into language Y. e.g. that translating a program written in python, perl, or ksh into Scheme would slow it down. That depends heavily on the comparative quality of the implementations of X and Y. I think it's not unlikely that code written by an X->Y translator will perform less well than code handwritten in language Y, but if Y is a much more efficient implementation of language Y than X is of language X, there is still quite a bit of room for speed gains. >Counterexamples, albeit not non-existent, are at best >scarce. I've used several of those counterexamples. GCL, a lisp to C compiler, outruns CLISP's byte-code interpreter. ECoLisp, another lisp to C compiler, outperforms CLISP by a factor of 6, and CLiCC outperforms CLISP by a factor of 3-4. Camloo compiles Caml Light into Scheme, which is then compiled by bigloo into C, and outruns the Caml Light byte-code interpreter by a large margin. -- Robert
Technical Details
Message-ID:
<39gar6$knq@henri.mindspring.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!news.Gsu.EDU!news-feed-1.peachnet.edu!emory!metro.atlanta.com!nntp.mindspring.com!rsandersReferences:
<394kll$kso@csnews.cs.Colorado.EDU> <3989s0$1jf@csnews.cs.Colorado.EDU> <BEVAN.94Nov5115605@panther.cs.man.ac.uk> <39g5bg$3tc@csnews.cs.Colorado.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,9bda08f2f068881f X-Google-Attributes: gidf891f,public X-Google-Thread: 1025b4,9bda08f2f068881f X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1994-11-05 08:11:18 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!news.Gsu.EDU!news-feed-1.peachnet.edu!emory!metro.atlanta.com!nntp.mindspring.com!rsanders From: rsanders@mindspring.com (Robert Sanders) Newsgroups: comp.lang.misc,gnu.misc.discuss Subject: Re: GNU Script isn't fixing something that's broken, so is doomed Date: 5 Nov 1994 16:11:18 GMT Organization: MindSpring Enterprises, Inc. Lines: 32 Message-ID: <39gar6$knq@henri.mindspring.com> References: <394kll$kso@csnews.cs.Colorado.EDU> <3989s0$1jf@csnews.cs.Colorado.EDU> <BEVAN.94Nov5115605@panther.cs.man.ac.uk> <39g5bg$3tc@csnews.cs.Colorado.EDU> NNTP-Posting-Host: hrothgar.mindspring.com