From owner-freebsd-questions@FreeBSD.ORG Wed Jun 6 19:24:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90A2B106566C; Wed, 6 Jun 2012 19:24:40 +0000 (UTC) (envelope-from joe.gain@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EFEC78FC08; Wed, 6 Jun 2012 19:24:39 +0000 (UTC) Received: by werg1 with SMTP id g1so5799641wer.13 for ; Wed, 06 Jun 2012 12:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=lWOjC/yULCEFu992OJDLNLQaJYKoLzvnvcUFsgeuVGM=; b=qXsBRuXvv24TqEJvAPSgjRAjAocWETGPtnnuSXy3AMx1Q8nmztpVBeVdeyK+ScCguS BO0FJZbQuzLQrT2B3ZEVwkc/2SqjhTjOccePlWPCuV5kjnqEDw/2IlhiSN9N9kAgXGFG upaN8YDrjZ/JIhCghjVP59LI3F+f7tE/ETG1VhlvNfWtJ06k3FwmX0aEWX3KoSWsgkXq S03FIZ+ll4/WgFKPczIimFDVRX8G2qvr3eibDvm75BxPC8V4p9wAnm1Yg3JF3uMjY9lk YiPnLCboKHU31XcT2LTT+R+lFWQp80fpv9ULtlNUDISs5b3hKy/pouhJXG3WqQsHOmow dy8g== MIME-Version: 1.0 Received: by 10.216.218.200 with SMTP id k50mr17903977wep.212.1339010678891; Wed, 06 Jun 2012 12:24:38 -0700 (PDT) Received: by 10.216.185.84 with HTTP; Wed, 6 Jun 2012 12:24:38 -0700 (PDT) In-Reply-To: <20120606211144.5135cce9@kuro.5550h.net> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <20120606211144.5135cce9@kuro.5550h.net> Date: Wed, 6 Jun 2012 21:24:38 +0200 Message-ID: From: Joe Gain To: =?UTF-8?B?5paH6bOl?= Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: Matthew Seaman , freebsd-questions@freebsd.org Subject: Re: Why Clang X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 19:24:40 -0000 On Wed, Jun 6, 2012 at 9:11 PM, 文鳥 wrote: > On Wed, 06 Jun 2012 19:05:59 +0100 > Matthew Seaman wrote: > >> On 06/06/2012 18:28, Thomas D. Dean wrote: >> > Has the discussion on why change to clang been made available? >> You might be interested in this video: http://www.llvm.org/devmtg/2011-11/videos/Davis_LLVMinFreeBSD-mobile.mp4 >> Yes, endlessly. Mostly on lists like freebsd-hackers@... and at >> various conferences and developer summits. Check the list archives. >> >> > I would like to know the reasoning. >> >> It's simple. gcc-4.2, which is what the base system compiler is >> derived from is: >> >> * fairly old >> >> * doesn't perform as well as more recent compilers >> >> * doesn't adhere to recently established standards > > There's another good reason for clang which nobody mentioned so far: > clear diagnostics. If you ever had to wade through gcc's debug output > and compare several thousand character long template instantiations, > just to find where they differ and then see the clear problem > descriptions that clang produces instead, you'll understand what I > mean. > And in combination with libc++, which just arrived on stable, I am > finally able to use all the features of C++11 that I want. Try to use > e.g. std::regex even on g++47, and just see what happens. > Of course, getting rid of GPL is an added benefit ;) > After reading all those complaints, I just had to respond and thank > everyone involved very much for importing clang and libc++. Great job > well done! > > Best regards, > 文鳥 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???)