public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rafael Espindola <espindola@google.com>
To: Diego Novillo <dnovillo@google.com>
Cc: Olatunji Ruwase <tjruwase@google.com>, gcc@gcc.gnu.org
Subject: Re: [plugin] Directory for plugins distributed with gcc
Date: Thu, 16 Jul 2009 13:09:00 -0000	[thread overview]
Message-ID: <38a0d8450907160608i2fe97c18g10a4930cee9ea23c@mail.gmail.com> (raw)
In-Reply-To: <b798aad50907151214w5c8fceeyf4dd838edd2e1cfc@mail.gmail.com>

> In general I think spinning off modules/passes that are not used very
> frequently (e.g. the tree browser) is a good idea since it reduces the
> size of our code base.

I would go a  bit further.

One nice properties of plugins is that they have a more restrictive
API. That should help us to get the code a bit more maintainable.

Olatunji's work is a very nice example. For example, to make mudflap a
plugin he had to remove the occurrences of  "if (flag_mudflap)" and
make mudflap use the existing generic varpool.

>
> Diego.
>


Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047

      parent reply	other threads:[~2009-07-16 13:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fe7fd8170907151130j35ac3348kb447e7e1d273d9af@mail.gmail.com>
2009-07-15 18:43 ` Diego Novillo
2009-07-15 18:51   ` Olatunji Ruwase
2009-07-15 19:14     ` Diego Novillo
2009-07-15 19:36       ` Joseph S. Myers
2009-07-15 20:43         ` Paolo Bonzini
2009-07-15 20:53           ` Joseph S. Myers
2009-07-15 21:16             ` Basile STARYNKEVITCH
2009-07-15 21:43             ` Paolo Bonzini
2009-07-16 13:09       ` Rafael Espindola [this message]

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=38a0d8450907160608i2fe97c18g10a4930cee9ea23c@mail.gmail.com \
    --to=espindola@google.com \
    --cc=dnovillo@google.com \
    --cc=gcc@gcc.gnu.org \
    --cc=tjruwase@google.com \
    /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).