From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10378 invoked by alias); 26 Oct 2004 01:26:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10334 invoked from network); 26 Oct 2004 01:26:24 -0000 Received: from unknown (HELO merlin.cs.tamu.edu) (128.194.146.35) by sourceware.org with SMTP; 26 Oct 2004 01:26:24 -0000 Received: by merlin.cs.tamu.edu (Postfix, from userid 500) id 2AF3C3557A; Mon, 25 Oct 2004 20:26:06 -0500 (CDT) To: Stan Shebs Cc: "Joseph S. Myers" , Ziemowit Laski , gcc-patches@gcc.gnu.org Subject: Re: New C parser [patch] References: <42A6DEB0-26D4-11D9-9558-000D9330C50E@apple.com> <417D91EB.2080504@apple.com> From: Gabriel Dos Reis In-Reply-To: <417D91EB.2080504@apple.com> Organization: Texas A&M University, Department of Computer Science Date: Tue, 26 Oct 2004 01:46:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-10/txt/msg02148.txt.bz2 Stan Shebs writes: | Joseph S. Myers wrote: | | >On Mon, 25 Oct 2004, Ziemowit Laski wrote: | > | > | >>I'm just curious as to why you think that writing a C parser from scratch is | >>easier than tweaking Mark's parser to handle C. | >> | > | > You have an interesting definition of "tweaking". Geoffrey Keating | > gave an estimate of 6-9 man-years to merge the front ends making | > them handle the present languages as fast as at present. This | > compares to 1 man-week to write a functional C parser for the exact | > present language accepted which also speeds up the compiler despite | > not having been profiled or tuned for performance at all. | > | To be fair though, Geoff's estimate accounted for merging a lot | of the semantic processing that continues to be semi-clones of | each other, and continues to cause performance problems that have | to be solved twice. What are the basis of Geoff's estimates? -- Gaby