all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: "Eric S. Raymond" <esr@thyrsus.com>
Cc: rms@gnu.org, GCC Development <gcc@gcc.gnu.org>, emacs-devel@gnu.org
Subject: Re: clang and FSF's strategy
Date: Tue, 21 Jan 2014 17:31:43 -0800	[thread overview]
Message-ID: <CAKOQZ8yLgvhijZEj0O3CC6Mt4gEJMUF5Bv_EMVnkWCdQPRJ6RA@mail.gmail.com> (raw)
In-Reply-To: <20140121201949.21DE1380522@snark.thyrsus.com>

On Tue, Jan 21, 2014 at 12:19 PM, Eric S. Raymond <esr@thyrsus.com> wrote:
>
> Wouldn't it make sense, then, to entirely drop the factoring
> restrictions from GCC so it can compete for developer attention more
> effectively with clang?
>
> Before clang existed, back when GCC had a near monopoly in its
> competitive space, there might have been a functional case for those
> restrictions. Reasonable people may differ on that; there's no point
> in arguing it retrospectively. Now, I submit, they have become a pointless
> gesture that serves only to hinder GCC development abd increase
> clang's competitive advantage.
>
> GCC has a lot of strengths to play from, most notably the maturity of
> its multiplatform and cross-development support.  I urge the FSF to
> fully free the code - drop the policy restrictions, encourage a
> flourishing ecosystem of surrounding plugins.  Let GCC, clang, and
> other alternatives compete for attention on pure technical merit.

I'm sympathetic to our comments regarding GCC vs. clang.  But I'm not
sure I grasp your proposed solution.  GCC does support plugins, and
has supported them for a few releases now.

GCC plugins have what turns out to be a significant defect: the plugin
interface simply exposes GCC internals, and as such is not stable
across releases.  I pushed for plugins in GCC, and I thought this
unstable interface would be OK, but I was wrong.  For general plugins
to be useful, we need a more stable interface.

But that is a technical issue, not a licensing issue.  You are talking
about licensing issues.  Do you think the licensing requirements on
plugins are too onerous?

Because of the non-standard interface, the most effective way for
people to write plugins for GCC today is to use something like MELT
(http://gcc-melt.org) or the GCC Python plugin
(https://fedorahosted.org/gcc-python-plugin/).  These provide a
somewhat more standard interface across releases.

Ideally we would develop a standard interface for C as well.  There
have been some efforts along those lines but as far as I know none of
them have been committed to the tree.

Ian


  parent reply	other threads:[~2014-01-22  1:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 20:19 clang and FSF's strategy Eric S. Raymond
2014-01-22  0:07 ` David Kastrup
2014-01-25 15:26   ` David Kastrup
2014-01-22  0:50 ` Alexandre Oliva
2014-01-23 18:21   ` Joseph S. Myers
2014-01-22  1:31 ` Stefan Monnier
2014-01-22  1:31 ` Ian Lance Taylor [this message]
2014-01-22  4:02   ` Eric S. Raymond
2014-01-22 11:27     ` David Kastrup
2014-01-22 14:33 ` Jordi Gutiérrez Hermoso
2014-01-23 10:03   ` Michael Witten
2014-01-23 10:52     ` David Kastrup
2014-01-23 17:17     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2014-01-22  4:49 grischka

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=CAKOQZ8yLgvhijZEj0O3CC6Mt4gEJMUF5Bv_EMVnkWCdQPRJ6RA@mail.gmail.com \
    --to=iant@google.com \
    --cc=emacs-devel@gnu.org \
    --cc=esr@thyrsus.com \
    --cc=gcc@gcc.gnu.org \
    --cc=rms@gnu.org \
    /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.