From owner-freebsd-hackers Thu Apr 26 16:21:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 065A937B43E for ; Thu, 26 Apr 2001 16:21:47 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id TAA00470; Thu, 26 Apr 2001 19:22:11 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426184129.034e8090@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 18:44:46 -0400 To: seebs@plethora.net (Peter Seebach), hackers@FreeBSD.ORG From: Dennis Subject: Re: gcc -O bug In-Reply-To: <200104262151.f3QLpdN29451@guild.plethora.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 05:51 PM 04/26/2001, Peter Seebach wrote: >In message <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com>, Dennis writes: > >Don't try to argue this ridiculous point on this list. You are badly > >overmatched. You are so wrong that its not worthy of debate. > >Which is presumably why you offered no arguments. > >Actually, this is a fairly well-demonstrated result. Anything that depends >mostly on the operation of, say, regexp code, and doesn't spend most of its >time doing flow control will be fairly comparable in C and perl. Slower? >Quite possibly. *much* slower? Not normally. I think the standing estimate >is that competently-written perl will take no more than three times as long as >carefully-written C for most perl-ish tasks. Matrix multiplies are an obvious >exception. > >In practice, perl is likely to beat C substantially on most >exrpession-matching code, because most C programmers write very inefficient >matching code, and perl is good at it. > >(Go ahead, dismiss me as being unfairly biased against C.) Done. Like I said, its not worthy of debate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message