comp.lang.ada
 help / color / mirror / Atom feed
From: Simtel20 Transfer <HARBAUGH@ROO.FIT.EDU>
Subject: Re: Change to obscure visibility rule in 9x
Date: Wed, 19 Oct 1994 05:39:00 EDT
Date: 1994-10-19T05:39:00-04:00	[thread overview]
Message-ID: <INFO-ADA%94101904360935@VM1.NODAK.EDU> (raw)

Bob Duff writes:
         2.a   Reason:  The reason for making overloadable declarations with
         profiles special is to simplify compilation:  until the compiler has
         determined the profile, it doesn't know which other declarations are
         homographs of this one, so it doesn't know which ones this one should
         hide.  Without this rule, two passes over the _specification or
         generic_instantiation would be required to resolve names that denote
         things with the same name as this one.

So the compiler has to look at a few hundred bytes of source code twice,
With today's 8MB and higher PCs that doesn't seem like any problem. It
seems like the one-pass goal should be deferred in favor of removing
rules, especially obscure ones.  I am not a compiler person so maybe
someone will say there is more to this than meets the eye.
sam harbaugh HARBAUGH@ROO.FIT.EDU

What's the difference between the new Denver airport and the White House?
You can land an airplane at the White House!



             reply	other threads:[~1994-10-19  9:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-19  9:39 Simtel20 Transfer [this message]
     [not found] <INFO-ADA%94101904360935@vm1.nodak.edu>
1994-10-19 12:33 ` Change to obscure visibility rule in 9x Bob Duff
     [not found] <GRAHAM.94Oct18094458@clsi.clsi.com>
1994-10-18 17:38 ` Bob Duff
1994-10-20  4:01   ` Paul Graham
     [not found]   ` <GRAHAM.94Oct20000151@canopus.clsi.com>
1994-10-20 14:46     ` Bob Duff
  -- strict thread matches above, loose matches on Subject: below --
1994-10-18 13:44 Paul Graham
1994-10-18 15:23 ` Robert I. Eachus
replies disabled

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