all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: "Eric S. Raymond" <esr@snark.thyrsus.com>, emacs-devel@gnu.org
Subject: Re: Defending GCC considered futile
Date: Mon, 09 Feb 2015 20:39:27 +0100	[thread overview]
Message-ID: <87r3ty3mds.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <jwvoap4v6kj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 08 Feb 2015 09:12:46 -0500")

* Stefan Monnier:

>> LLVM was first relased in 2003, Clang was opened up in 2007 (but is
>> likely a bit older).  Those aren't young projects by any standard, and
>> I doubt their sheets are particularly clean by this point.
>
> Compare that to the age of GCC, and while I agree it's had time to grow
> warts, it's still much cleaner than GCC and its structure is much better
> adapted to current compiler technology needs.

I have not worked on both compilers, so I'm not sure if that's
accurate.  Considering that the “clean sheets” claim has been around
for five years, I do have my doubts that this is still based on fact
(if it ever was).

One definite advantage for LLVM is that they target GCC 4.7 and later
as the bootstrap compiler (or more precisely, the C++11 subset also
supported by Microsoft Visual C++ 2012 and Clang 3.1).  That does
allow for some clean-ups, but of course, it concerns rather
superficial matters.

> GCC has also changed quite a bit during all those years, and not only by
> accruing "stuff" but also by internal redesigns, which helped it stay
> "on top of its game", but from the point of view of a someone wanting to
> add some new optimization/feature, the technical attractiveness of GCC
> is no match to LLVM.

It depends on what you want to do.  GCC's architecture has its
benefits because it allows the introduction of optimizations which
know more about front-end constructs than what can be made explicit in
its IR.



  reply	other threads:[~2015-02-09 19:39 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 20:29 Defending GCC considered futile Eric S. Raymond
2015-02-07 21:24 ` David Kastrup
2015-02-09  0:04   ` Richard Stallman
2015-02-07 22:30 ` Florian Weimer
2015-02-08 14:12   ` Stefan Monnier
2015-02-09 19:39     ` Florian Weimer [this message]
2015-02-09 22:04   ` Perry E. Metzger
2015-02-09  0:04 ` Richard Stallman
2015-02-09  4:13   ` Stefan Monnier
2015-02-09  5:50   ` Stephen J. Turnbull
2015-02-09 22:06     ` Richard Stallman
2015-02-09 22:24       ` Perry E. Metzger
2015-02-10  3:37         ` Eli Zaretskii
2015-02-10  8:30           ` Daniel Colascione
2015-02-10  8:47             ` Helmut Eller
2015-02-10 15:58               ` Eli Zaretskii
2015-02-10 15:57             ` Eli Zaretskii
2015-02-10 18:19               ` Daniel Colascione
2015-02-10 18:41                 ` David Kastrup
2015-02-10 19:27                   ` Eli Zaretskii
2015-02-10 19:23                 ` Eli Zaretskii
2015-02-10 20:05                   ` David Kastrup
2015-02-10 23:14                   ` Stefan Monnier
2015-02-11  3:46                     ` Eli Zaretskii
2015-02-11 23:11                     ` Richard Stallman
2015-02-10 22:48         ` Richard Stallman
2015-02-11  2:08           ` John Yates
2015-02-11 15:42           ` Perry E. Metzger
2015-02-11 16:14             ` Eli Zaretskii
2015-02-11 16:29               ` Perry E. Metzger
2015-02-11 16:44                 ` Eli Zaretskii
2015-02-11 16:54                   ` Eli Zaretskii
2015-02-11 20:50                     ` Perry E. Metzger
2015-02-12  3:37                       ` Eli Zaretskii
2015-02-12  3:54                         ` Perry E. Metzger
2015-02-11 19:14                 ` Florian Weimer
2015-02-11 19:19                 ` Stefan Monnier
2015-02-11 23:13                 ` Richard Stallman
2015-02-12  1:48               ` raman
2015-02-11 23:13             ` Richard Stallman
2015-02-09  7:41   ` Helmut Eller
2015-02-09 19:30   ` Florian Weimer
2015-02-09 22:41     ` Perry E. Metzger
2015-02-10 22:46     ` Richard Stallman
2015-02-09 22:19   ` Perry E. Metzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3ty3mds.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=emacs-devel@gnu.org \
    --cc=esr@snark.thyrsus.com \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.