comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Smart compilers?
Date: 1998/01/23
Date: 1998-01-23T00:00:00+00:00	[thread overview]
Message-ID: <dewar.885563696@merv> (raw)
In-Reply-To: 199801231254.NAA10827@olaris.misil


<<I thought that one reason for using specs and bodies was that when just
a body changed and not the spec there was no need to recompile anything
else than the body.
This feature seems to be overlooked by the compiler manufacturers.
At least with my compiler, verdix, and probably Rationals VADS as well,
haven't had time to try it that much.
Which ada compilers use this feature to reduce compile time?
>>

Absolutely ALL ada compilers take advantage of this. If you are having
trouble it is because of some misunderstanding of how to use the
compiler. FOr example, with most compilers it is necessarily to put
the body and spec in different files to get this advantage.

Also if you have pragma Inline's around, your compiler may optinoalloy
generate extra dependencies which may cause recompilation (if you think
about it, this is absolutely necessary). The same thing may happen
with generics in some circumstances.






  reply	other threads:[~1998-01-23  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-23  0:00 Smart compilers? Fredrik Thoernblad
1998-01-23  0:00 ` Robert Dewar [this message]
1998-01-23  0:00   ` Jean-Pierre Rosen
1998-01-23  0:00     ` Nick Roberts
1998-01-24  0:00     ` Larry A. Barowski
1998-01-25  0:00 ` Gene Ouye
1998-01-26  0:00 ` Mats Weber
1998-01-28  0:00 ` TConiam
1998-01-28  0:00   ` Larry Kilgallen
replies disabled

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