public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Stefan Strasser <sstrasser@systemhaus-gruppe.de>
To: Pjotr Kourzanov <peter.kourzanov@xs4all.nl>,  gcc@gcc.gnu.org
Subject: Re: -fdump-translation-unit considered harmful
Date: Tue, 21 Dec 2004 00:45:00 -0000	[thread overview]
Message-ID: <41C77208.1060000@systemhaus-gruppe.de> (raw)
In-Reply-To: <41C75433.2040404@xs4all.nl>

Pjotr Kourzanov schrieb:
>> For anyone interested in interfacing proprietary programs to GCC, that's
>> not even much of a speed bump.
>>
>> As soon as that binary API is written, someone will write a small calling
>> program that will use the API to dump the translation unit into a nicely
>> documented XML format.  The dumper will, of course, be released under the
>> GPL.  Then the proprietary backend will simply read in the XML data.
> 
> 
>   I suspect the XML output thus generated will be comparable is size to 
> what -fdump-translation-unit generates now. As it is, it takes *ages* to 
> re-parse those megabytes of ASCII data (even for simple C source files 
> including lots of headers). The really problematic case is only when a 
> binary API at the tree level is exposed.

I really don't understand why this is so much of a political problem. I 
understand the intentions, but isn't compiling proprietary code with gcc 
the same? and that is explicitely allowed.
then, the API is already there, cp tree. it's just not very stable so 
another level of abstraction would be nice to make it stable. but I 
don't think this will prevent anyone to export data. (at least, not me)
to make things clear, I have no proprietary interest in this, but I am 
following the XML approach stated above for other reasons. (with the 
exception of "nicely documented" ;)


-- 
Stefan Strasser

  reply	other threads:[~2004-12-21  0:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-18  7:27 cp tree question Stefan Strasser
2004-12-18  9:33 ` -fdump-translation-unit considered harmful (was Re: cp tree question) Zack Weinberg
2004-12-18  9:39   ` Nathan Sidwell
2004-12-18 13:33     ` Gabriel Dos Reis
2004-12-20 17:37       ` Joe Buck
2004-12-18  9:54   ` Stefan Strasser
2004-12-18 10:18     ` -fdump-translation-unit considered harmful Zack Weinberg
2004-12-18 13:35       ` Gabriel Dos Reis
2004-12-18 15:14         ` Paul Brook
2004-12-18 16:23           ` Gabriel Dos Reis
2004-12-18 20:52             ` Stefan Strasser
2004-12-19 10:37               ` Robert Dewar
2004-12-19 20:05                 ` Pjotr Kourzanov
2004-12-19 20:35                 ` Aaron W. LaFramboise
2004-12-20 17:35                   ` Joe Buck
2004-12-20 22:02                     ` Tom Tromey
2004-12-20 22:23                       ` Gabriel Dos Reis
2004-12-20 22:37                     ` Pjotr Kourzanov
2004-12-21  0:45                       ` Stefan Strasser [this message]
2004-12-21  1:23                         ` Joe Buck
     [not found]                       ` <41C76E28.2060302@systemhaus-gruppe.de>
     [not found]                         ` <41C7EC6E.1090306@xs4all.nl>
     [not found]                           ` <41C82441.8040505@systemhaus-gruppe.de>
     [not found]                             ` <41C8256B.3010407@xs4all.nl>
     [not found]                               ` <41C82C94.3090304@systemhaus-gruppe.de>
     [not found]                                 ` <41C83465.6060103@xs4all.nl>
     [not found]                                   ` <41C9249B.3060503@systemhaus-gruppe.de>
2004-12-22 15:58                                     ` peter.kourzanov
2004-12-20 17:27           ` Joe Buck
2004-12-18 13:32   ` -fdump-translation-unit considered harmful (was Re: cp tree question) Gabriel Dos Reis
2004-12-18 13:28 ` cp tree question Gabriel Dos Reis
2004-12-20  3:48 ` Stefan Strasser
2004-12-25 17:14 -fdump-translation-unit considered harmful Richard Stallman
2004-12-30  0:43 ` Pjotr Kourzanov
2004-12-30  1:29   ` Robert Dewar
2004-12-30  2:35   ` Stefan Strasser
2004-12-30  2:53     ` Robert Dewar
2004-12-30  3:52       ` Stefan Strasser
2005-01-01  5:31     ` Richard Stallman
2005-01-01  5:31   ` Richard Stallman
2005-05-12 16:30 Dams, Dennis (Dennis)
2005-05-12 20:41 ` Ian Lance Taylor
2005-05-13 17:07 Dams, Dennis (Dennis)
2005-05-13 18:29 ` Gabriel Dos Reis

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=41C77208.1060000@systemhaus-gruppe.de \
    --to=sstrasser@systemhaus-gruppe.de \
    --cc=gcc@gcc.gnu.org \
    --cc=peter.kourzanov@xs4all.nl \
    /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).