From owner-freebsd-questions@FreeBSD.ORG Mon Jun 25 12:56:12 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 E4410106566B for ; Mon, 25 Jun 2012 12:56:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2968FC20 for ; Mon, 25 Jun 2012 12:56:11 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5PCuIKA078885; Mon, 25 Jun 2012 14:56:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5PCuH9g078882; Mon, 25 Jun 2012 14:56:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 25 Jun 2012 14:56:17 +0200 (CEST) From: Wojciech Puchar To: jb In-Reply-To: Message-ID: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <1340574699711-5721495.post@n5.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 25 Jun 2012 14:56:18 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: CLANG vs GCC tests of fortran/f2c program 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: Mon, 25 Jun 2012 12:56:13 -0000 > programming involves many of the classic trade-offs in programming: dynamic > features add flexibility, static features add speed and type checking." > My Note: please keep in mind we are talking about language used for writing > clang, a compiler tool. > > So, Objective-C has disadvantage with regard to size od generated code, > performance, and optimization as compared to C++. > > But both share OO (object-oriented) paradigm, which many pros consider > synthetic, or pulled out of thin air if you prefer, with negative effects on > devs mental health, design, and resulting code quality. > > I hope I got all facts right -:) most probably, but what does it mean if clang have multiple layers, frontend, LLVM backend, etc. etc. for normal user who just needs C compiler. It doesn't matter how it do this but what are the results. > It seems to me that switching to clang was a correct strategic decision for > reasons linked to GPLv3 license as described in my prior post and by other > thread posters. You didn't wrote anything new here. > But there seems to be some price paid related to "written in C++" facts > described by me in both posts, which may make some people come to a conclusion > that the decision was based more on a political factor (Apple) than on > technical merits. It doesn't really care how clang is written but how it works. And it was political decision because compiler itself, on GPLv3 licence, does not block anyhow distributing it's output - binaries. C++ libraries can be limiting, but... wasn't replaced. If it would be truly about removing GPLv3 code that hurts, replacing libstdc++ would be first thing to do. For now we have removed GPL code that doesn't hurt