public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Bernd Schmidt <bernds_cb1@t-online.de>
Cc: Ian Lance Taylor <iant@google.com>,
	        Richard Kenner <kenner@vlsi1.ultra.nyu.edu>,
	dnovillo@google.com,         Joe.Buck@synopsys.com,
	fleury@labri.fr, gcc@gcc.gnu.org
Subject: Re: Progress on GCC plugins ?
Date: Sat, 17 Nov 2007 11:39:00 -0000	[thread overview]
Message-ID: <m3lk8x24x1.fsf@fleche.redhat.com> (raw)
In-Reply-To: <473DCFBC.3000801@t-online.de> (Bernd Schmidt's message of "Fri\, 16 Nov 2007 18\:13\:32 +0100")

>>>>> "Bernd" == Bernd Schmidt <bernds_cb1@t-online.de> writes:

Bernd> I must admit I don't understand the upside.  I've always thought of
Bernd> plugins as something proprietary programs need because their source
Bernd> isn't open.

Everybody explained about the existing free software that has plugins.
But, I thought I'd mention a few use cases for plugins.

The biggest benefit of a plugin system is that you can add things to
the compiler without requiring all your users to build their own
compiler.

E.g., Mozilla developers have said before (even earlier in this
thread) that they would like to be able to run Mozilla-specific
analysis passes over their code, say before checkin.  Probably this
consists of a bunch of warning checks that are suitable for Mozilla
but not suitable for inclusion in GCC.  With a plugin system they have
the option of providing "Mozilla GCC plugin for Fedora 9", or
whatever, and avoiding the mess of "to build Mozilla first you have to
build GCC with patch X".

Bernd> In my view, plugins will bitrot quickly as GCC's interface
Bernd> changes; and they won't even help with the learning curve -
Bernd> does anyone believe for a second you won't have to understand
Bernd> compiler internals to write a plugin?

Plugins are about deployment, not development.  They don't make
writing the code much simpler.  That is why we can argue that the risk
they pose is small: they don't make it significantly simpler to make a
proprietary GCC.

Tom

  parent reply	other threads:[~2007-11-16 23:02 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07  8:37 Emmanuel Fleury
2007-11-07 16:47 ` Joe Buck
2007-11-07 17:11   ` Basile STARYNKEVITCH
2007-11-07 17:20   ` Tom Tromey
2007-11-07 17:34     ` Robert Dewar
2007-11-07 17:47       ` Chris Lattner
2007-11-08 13:02       ` Florian Weimer
2007-11-08 14:01         ` Robert Dewar
2007-11-07 17:49   ` Dave Korn
2007-11-07 18:45     ` David Edelsohn
2007-11-07 19:11       ` Robert Dewar
2007-11-07 21:55         ` Brendon Costa
2007-11-07 22:32           ` Robert Dewar
2007-11-07 22:43             ` Brendon Costa
2007-11-07 22:57               ` Robert Dewar
2007-11-07 23:43                 ` David Edelsohn
2007-11-08  0:00                   ` Brendon Costa
2007-11-07 23:44                 ` Brendon Costa
2007-11-25  0:02                   ` Alexandre Oliva
2007-11-25 17:15                     ` Richard Kenner
2007-11-08 12:57       ` Dave Korn
2007-11-08  0:10   ` Brendon Costa
2007-11-08  7:21   ` Ian Lance Taylor
2007-11-08 10:23     ` Emmanuel Fleury
2007-11-08 20:51     ` Mark Mitchell
2007-11-09 18:12       ` Gerald.Williams
2007-11-15 21:43   ` Diego Novillo
2007-11-15 21:46     ` Joe Buck
2007-11-15 21:53     ` Richard Kenner
2007-11-15 22:04       ` Ian Lance Taylor
2007-11-15 22:46         ` Richard Kenner
2007-11-15 22:49           ` Diego Novillo
2007-11-15 23:24             ` Richard Kenner
2007-11-15 23:37               ` Diego Novillo
2007-11-16  0:24                 ` Richard Kenner
2007-11-16  1:24                   ` Diego Novillo
2007-11-24 23:31                     ` Alexandre Oliva
2007-11-24 23:33                       ` Diego Novillo
2007-11-25  0:11                         ` Alexandre Oliva
2007-11-16  1:39               ` Ian Lance Taylor
2007-11-16 15:49             ` Alexander Lamaison
2007-11-16 16:08               ` Martin Jambor
2007-11-16 16:12                 ` Alexander Lamaison
2007-11-15 22:54           ` Benjamin Smedberg
2007-11-15 23:50           ` Ian Lance Taylor
2007-11-15 22:53         ` Andrew Haley
2007-11-15 22:55           ` Ian Lance Taylor
2007-11-16 13:33             ` Andrew Haley
2007-11-16 16:18               ` Ian Lance Taylor
2007-11-16 16:21                 ` Andrew Haley
2007-11-16 16:53                   ` Basile STARYNKEVITCH
2007-11-16 16:56                   ` Ian Lance Taylor
2007-11-16 16:58                     ` Diego Novillo
2007-11-16 17:08                     ` Andrew Haley
2007-11-16 17:10                       ` Diego Novillo
2007-11-16 18:17                         ` Benjamin Smedberg
2007-11-23  0:25                           ` Frank Ch. Eigler
2007-11-16 17:15                       ` Basile STARYNKEVITCH
2007-11-24 23:22                         ` Alexandre Oliva
2007-11-25  0:10                           ` Chris Lattner
2007-11-16 17:16                       ` David Edelsohn
2007-11-16 17:25                         ` Dep, Khushil (GE Money)
2007-11-16 17:32                           ` Tom Tromey
2007-11-17 14:15                           ` Gabriel Dos Reis
2007-11-24 23:22                             ` Alexandre Oliva
2007-11-24 23:29                               ` Richard Kenner
2007-11-25 20:43                               ` Tom Tromey
2007-11-26  6:24                                 ` Taras Glek
2007-11-26 19:49                                   ` Tom Tromey
2007-11-26 21:31                                     ` Basile STARYNKEVITCH
2007-11-27  0:14                                       ` Tom Tromey
2007-11-27 20:51                                         ` Alexandre Oliva
2007-11-28  7:53                                           ` Ian Lance Taylor
2007-11-16 17:18                     ` Richard Kenner
2007-11-16 17:27                       ` Joe Buck
2007-11-16 17:31                       ` Basile STARYNKEVITCH
2007-11-16 17:38                         ` Joe Buck
2007-11-16 19:21                           ` Gerald.Williams
2007-11-16 19:58                             ` Joe Buck
2007-11-16 21:43                               ` Gerald.Williams
2007-11-16 18:54                       ` Diego Novillo
2007-11-16 19:13                         ` Martin Jambor
2007-11-18 22:12                         ` Robert Dewar
2007-11-19  4:16                           ` Gabriel Dos Reis
2007-11-19  4:23                             ` Richard Kenner
2007-11-19  9:11                               ` Robert Dewar
2007-11-19  9:49                                 ` Richard Kenner
2007-11-19 10:21                                   ` Robert Dewar
2007-11-19 12:14                                 ` Gabriel Dos Reis
2007-11-19 12:28                                 ` Gabriel Dos Reis
2007-11-19 13:18                                   ` Robert Dewar
2007-11-19  8:26                             ` Robert Dewar
2007-11-19  8:37                             ` Robert Dewar
2007-11-16 16:24                 ` Basile STARYNKEVITCH
2007-11-16 17:03                   ` Ian Lance Taylor
2007-11-16 19:09                 ` Martin Michlmayr
2007-11-16 20:27                   ` Ian Lance Taylor
2007-11-16  0:01         ` Emmanuel Fleury
2007-11-16 17:27         ` Bernd Schmidt
2007-11-16 17:35           ` Richard Kenner
2007-11-16 18:41             ` Dave Korn
2007-11-16 17:46           ` Basile STARYNKEVITCH
2007-11-16 17:52           ` Joe Buck
2007-11-16 18:29           ` Diego Novillo
2007-11-17 11:39           ` Tom Tromey [this message]
2007-11-19  1:08             ` Brendon Costa
2007-11-15 22:47       ` Diego Novillo
2007-11-15 23:05         ` Richard Kenner

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=m3lk8x24x1.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=Joe.Buck@synopsys.com \
    --cc=bernds_cb1@t-online.de \
    --cc=dnovillo@google.com \
    --cc=fleury@labri.fr \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=kenner@vlsi1.ultra.nyu.edu \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).