From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 18:18:13 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E41010659A8 for ; Wed, 14 Jan 2009 18:18:13 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 295488FC1B for ; Wed, 14 Jan 2009 18:18:12 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 281759CB051; Wed, 14 Jan 2009 19:17:55 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VKf9CjZpCFaA; Wed, 14 Jan 2009 19:17:53 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DB4CC9CB066; Wed, 14 Jan 2009 19:17:52 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id n0EIHqhp058554; Wed, 14 Jan 2009 19:17:52 +0100 (CET) (envelope-from rdivacky) Date: Wed, 14 Jan 2009 19:17:52 +0100 From: Roman Divacky To: Jung-uk Kim Message-ID: <20090114181752.GA58249@freebsd.org> References: <20090113044111.134EC1CC0B@ptavv.es.net> <20090114172033.GA29254@lpthe.jussieu.fr> <20090114175228.GA54368@freebsd.org> <200901141315.04020.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901141315.04020.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Kevin Wilcox , freebsd-current@FreeBSD.org, Michel Talon Subject: Re: Alternatives to gcc (was Re: gcc 4.3: when will it become standard compiler?) 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: Wed, 14 Jan 2009 18:18:16 -0000 On Wed, Jan 14, 2009 at 01:15:00PM -0500, Jung-uk Kim wrote: > On Wednesday 14 January 2009 12:52 pm, Roman Divacky wrote: > > > advantage. If it appears at some moment that llvm works well and > > > produces code as fast as gcc, for all the platforms of interest > > > for the FreeBSD people, i have no doubt that they will switch > > > immediately. But one of the aims of > > > > the day is already here... llvm produces roughly the same quality > > of code and it has promises of delivering even much better code in > > near future. > > > > llvm does not have to maintain 20 years old cruft and is based on > > modern development methods. > > > > there are even reports of llvm producing significantly better code > > (for bzip2 iirc etc.) > > ATM, one of the biggest problems I see with LLVM+Clang is it is not > self-hosting as it is almost entirely written in C++. I think > buildworld is one of the most important requirements of FreeBSD > project, IMHO. well.. the c++ part of clang is almost non-existant atm but given the pace of development I wouldn't be surprised if it compiled some simple things (really simple, like hello world) this summer and medium sized projects in summer 2009... note... there has not been a SINGLE public release of clang... yet the results are already quite impressive. I'd expect self-hosting of clang in 2 years (but I am not authority here just a quite well informed observer)