From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964881AbWEBPZ6 (ORCPT ); Tue, 2 May 2006 11:25:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964882AbWEBPZ6 (ORCPT ); Tue, 2 May 2006 11:25:58 -0400 Received: from smtpout.mac.com ([17.250.248.173]:13274 "EHLO smtpout.mac.com") by vger.kernel.org with ESMTP id S964881AbWEBPZ5 (ORCPT ); Tue, 2 May 2006 11:25:57 -0400 In-Reply-To: <20060502151525.GX27946@ftp.linux.org.uk> References: <161717d50605011046p4bd51bbp760a46da4f1e3379@mail.gmail.com> <20060502051238.GB11191@w.ods.org> <44573525.7040507@argo.co.il> <20060502133416.GT27946@ftp.linux.org.uk> <4457668F.8080605@argo.co.il> <20060502143430.GW27946@ftp.linux.org.uk> <445774F7.5030106@argo.co.il> <20060502151525.GX27946@ftp.linux.org.uk> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Avi Kivity , Willy Tarreau , David Schwartz , "Linux-Kernel@Vger. Kernel. Org" Content-Transfer-Encoding: 7bit From: Kyle Moffett Subject: Re: Compiling C++ modules Date: Tue, 2 May 2006 11:24:52 -0400 To: Al Viro X-Mailer: Apple Mail (2.746.3) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On May 2, 2006, at 11:15:25, Al Viro wrote: > On Tue, May 02, 2006 at 06:04:23PM +0300, Avi Kivity wrote: >> BTW, C++ could take over some of sparse's function: > > And the point of that would be? sparse is _fast_ and easy to > modify; g++ is neither. For example; you can run _both_ a full sparse with all checks _and_ "gcc -Wall -Wextra -Werror -g -O2" in less time than it takes to _just_ run "g++ -O0" on a nearly identical file. If you have some new typechecking to do, figure out how to add it to sparse without cluttering up the syntax, don't convert the thing to C++, slow down the compile, etc. Cheers, Kyle Moffett