From owner-freebsd-current@FreeBSD.ORG Mon May 31 20:02:49 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51FB21065677; Mon, 31 May 2010 20:02:49 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A58538FC19; Mon, 31 May 2010 20:02:47 +0000 (UTC) Received: by fxm5 with SMTP id 5so2934118fxm.13 for ; Mon, 31 May 2010 13:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MSe/98hulhpw8c/fpGVa2oGZPxyKtB0qtEwVkXGlk2Y=; b=FT8dtea8WTpXQgHRCXuHmMRl6t80HIv9TW0TvFVXEMMlrSQmkN0L0VEvMSduUdXaP9 86NMIqoCQFsPE45WnvNMALmMl1+BoAZ0RVXxKlfiSK7uPxZwsuZcChOpbmPBeN89H509 p9eqPXbaoRwjSU6UP+Cxh77zgBTopdCdI+koA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qiZK044ztLuJgS1qxBNiHfiPS1jdTY1nnGn0PfquwTTuidG2ZmIEr+bYtDggSMIu7O 2ME27JeaPeuQkDDjeFoBa7OrlaiBJ4kf9NHuyp/0DnsTHn/Qw+CroEyZZ03mATHD6KO+ B5y92FnNEa9N0Z6O2NbwVCa6g4lDq45yFMnFg= MIME-Version: 1.0 Received: by 10.239.192.74 with SMTP id d10mr360830hbi.74.1275336166451; Mon, 31 May 2010 13:02:46 -0700 (PDT) Received: by 10.239.132.194 with HTTP; Mon, 31 May 2010 13:02:46 -0700 (PDT) In-Reply-To: <20100531191333.1F3035B30@mail.bitblocks.com> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> <20100531191333.1F3035B30@mail.bitblocks.com> Date: Mon, 31 May 2010 16:02:46 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Bakul Shah Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rdivacky@freebsd.org, current@freebsd.org, "M. Warner Losh" Subject: Re: Importing clang/LLVM into FreeBSD HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 20:02:49 -0000 On Mon, May 31, 2010 at 3:13 PM, Bakul Shah wrote: > On Mon, 31 May 2010 12:33:18 MDT "M. Warner Losh" wrote: > > > ... > > Can't speak for others but I am very appreciative of all the > work put in enthusiastically by Roman and others to get clang > into FreeBSD. Exciting to have a real alternative to gcc! > > In software engineering , there is a concept : "Formal Technical Reviews" . In my opinion , one of the best reviewers of a software is a compiler of its language . Having a second compiler in FreeBSD , will make it much better than the present state . My wish would be to pursue a language intersection of both CLang and GCC compilers to be able to check their outputs . If I could have sufficient power ( health , time , etc. ) , I even want to try and make applicable one more compiler such as Portable C Compiler ( which is available in ports ) . Personally I am using two compilers ( Free Pascal and Delphi ) on a big program , and I am obtaining very good results either as very useful warnings or errors . In reality , to pursue such a multiple compiler usage is really difficult , but end result is making efforts very fruitful . I am using a similar technique for my Fortran programs . I can say that to rely on a single compiler is not a very robust way of software development after seeing quality of compiled programs : My policy is now "Never use a single compiler without assuring that it is generating correct code when compared to other compilers even though the current compiler is tested on its test base ." This is a result of so many combinations of a language usage that a test base can not cover but it may exist in a user program over time . This policy is developed by actual experiences . >From these view points , workers on Clang adoption are making really a big contribution to the FreeBSD project and to its users . Thank you very much . Mehmet Erol Sanliturk