comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: seperate keyword and seperate compilation with Gnat?
Date: 1996/07/08
Date: 1996-07-08T00:00:00+00:00	[thread overview]
Message-ID: <dewar.836853969@schonberg> (raw)
In-Reply-To: 4rrdn0$10mk@info4.rus.uni-stuttgart.de


Michael said

"So, you don't consider me a customer anymore? :-) We talked about
precisely this issue at the GNAT workshop in Frankfurt last year.
The fact that GNAT does not compile subunits into separate object
files caused us some problems when we switched from Verdix to GNAT.
We have now restructured our code so this is not a big issue anymore,
but in order to save compilation time during developement it would
still be helpfull to have this feature. All of our examples are of
type 2 and if a separate code generation could be achieved easily
it would be nice to have but there are certainly more important
problems to be solved (e.g. a more efficent handling of unconstrained
arrays)."

Right, I know you mentioned this, but you also said that you could
restructure your code without any big problem (which I guess was
true :-)

However, what is really interesting, and what we did not discuss back
in Frankfurt was the distinction between type 1 and type 2. It is
VERY easy to allow separate compilation of type 2 subunits (those
nested inside packages), and in fact it is almost just a matter of
removing a restriction (well not quite a bit of binding trickery is
required), but it is really easy.

What I mean when I said no one had commented on it was that no one
had declared that this was a really hot issue, and that surprised me.
I thought we would run into at least some customers for whom this
would be a blocking problem.

Interestingly, I just talked with another customer, inspired to
think about the future by my post, who might be in exactly that
category, but there too, they are all type 2 (inside package)
cases and not the much more deadly type 1 (inside subprogram)
cases.

So the conclusion is that it definitely seems worth providing an
option to compile type 2 subunits separate (it can be an option,
so nothing will be lost if you want to do it the old way, which
is more efficient in compilation time if you are recompiling the
whole subtree).

Something to look into, probably not for the vesion immediately
coming out, but certainly for the vesion after that.

P.S. Having a close look at unconstrained arrays is getting near the
top of the priority list, so I think something will happen there
soon too (this is actually very target dependent, on some targets,
unconstrained arrays are handled fine, on others not. This results
from treating fat pointers as records.





  reply	other threads:[~1996-07-08  0:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-02  0:00 seperate keyword and seperate compilation with Gnat? David Morton
1996-07-02  0:00 ` Peter Hermann
1996-07-02  0:00   ` David Morton
1996-07-02  0:00 ` Samuel Mize
1996-07-03  0:00   ` *separate* keyword and *separate* " David Morton
1996-07-03  0:00     ` Robert Dewar
1996-07-03  0:00   ` seperate keyword and seperate " Robert Dewar
1996-07-17  0:00   ` Robert I. Eachus
1996-07-02  0:00 ` Robert Dewar
1996-07-18  0:00   ` Peter Hermann
1996-07-20  0:00     ` Robert Dewar
1996-07-03  0:00 ` Mike Card (x3022)
1996-07-03  0:00 ` Rob Kirkbride
1996-07-03  0:00   ` Robert A Duff
1996-07-03  0:00   ` Robert Dewar
1996-07-08  0:00     ` Robert A Duff
1996-07-08  0:00     ` michael
1996-07-08  0:00       ` Robert Dewar [this message]
1996-07-11  0:00         ` Robert A Duff
1996-07-11  0:00           ` Robert Dewar
1996-07-12  0:00             ` David Morton
1996-07-12  0:00               ` Robert Dewar
1996-07-16  0:00                 ` Michael Paus
1996-07-08  0:00     ` John Herro
1996-07-08  0:00       ` Robert Dewar
1996-07-08  0:00       ` Robert Dewar
1996-07-10  0:00         ` John Herro
1996-07-10  0:00           ` Robert Dewar
1996-07-09  0:00       ` Robert A Duff
1996-07-09  0:00         ` Robert Dewar
1996-07-09  0:00       ` progers
1996-07-04  0:00 ` Jon S Anthony
1996-07-03  0:00   ` Robert Dewar
1996-07-03  0:00   ` Robert Dewar
1996-07-04  0:00   ` Robert A Duff
1996-07-05  0:00 ` Jon S Anthony
1996-07-05  0:00 ` Jon S Anthony
1996-07-06  0:00   ` Robert Dewar
1996-07-09  0:00 ` Jon S Anthony
1996-07-09  0:00 ` Jon S Anthony
1996-07-09  0:00   ` Robert Dewar
1996-07-12  0:00   ` Jon S Anthony
1996-07-21  0:00     ` Robert A Duff
1996-07-11  0:00 ` Jon S Anthony
1996-07-11  0:00   ` Robert A Duff
1996-07-12  0:00   ` Robert Dewar
1996-07-14  0:00 ` Norman H. Cohen
1996-07-15  0:00   ` Robert Dewar
1996-07-15  0:00 ` Jon S Anthony
1996-07-15  0:00   ` Robert Dewar
1996-07-16  0:00 ` Jon S Anthony
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox