Article View: comp.lang.misc
Article #7055Re: GNU Script isn't fixing something that's broken, so is doomed
From: Tom Christiansen
Date: Sat, 05 Nov 1994 16:41
Date: Sat, 05 Nov 1994 16:41
28 lines
2301 bytes
2301 bytes
:-> In gnu.misc.discuss, rsanders@mindspring.com (Robert Sanders) writes: :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 was thinking of things like fortran to C, in which you lose all the nice optimizations that fortran can do because of language-defined assumptions regarding passed in arrays or built-in functions, or awk to perl, in which the perl code generated is forced to assume use hashed arrays instead of numeric ones, or that comparisons are string not numeric comparisons, or that each line must be split up into little fields. :I've used several of those counterexamples. GCL, a lisp to C compiler, :outruns CLISP's byte-code interpreter. Stop. That's not the same. You're comparing a interpreted bytecode with generated C code. That's not the same. A more appropriate comparison would be byte-code interpreted lisp versus byte-code interpreted scheme that was itself generated from the lisp code we are also benchmarking. --tom -- Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
Technical Details
Message-ID:
<39gcje$6ma@csnews.cs.Colorado.EDU>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!boulder!csnews!mox!tchristReferences:
<394kll$kso@csnews.cs.Colorado.EDU> <BEVAN.94Nov5115605@panther.cs.man.ac.uk> <39g5bg$3tc@csnews.cs.Colorado.EDU> <39gar6$knq@henri.mindspring.com>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:41:18 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!boulder!csnews!mox!tchrist From: Tom Christiansen <tchrist@mox.perl.com> 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:41:18 GMT Organization: Perl Consulting and Training Lines: 31 Message-ID: <39gcje$6ma@csnews.cs.Colorado.EDU> References: <394kll$kso@csnews.cs.Colorado.EDU> <BEVAN.94Nov5115605@panther.cs.man.ac.uk> <39g5bg$3tc@csnews.cs.Colorado.EDU> <39gar6$knq@henri.mindspring.com> Reply-To: tchrist@mox.perl.com (Tom Christiansen) NNTP-Posting-Host: perl.com Originator: tchrist@mox