Date: Mon, 25 Jun 2012 14:56:17 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: jb <jb.1234abcd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: CLANG vs GCC tests of fortran/f2c program Message-ID: <alpine.BSF.2.00.1206251453070.78793@wojtek.tensor.gdynia.pl> In-Reply-To: <loom.20120625T143324-756@post.gmane.org> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <alpine.BSF.2.00.1206191952250.8234@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1206200618290.46371@wojtek.tensor.gdynia.pl> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <loom.20120624T221657-6@post.gmane.org> <1340574699711-5721495.post@n5.nabble.com> <loom.20120625T143324-756@post.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206251453070.78793>