From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,45abc3b718b20aa3 X-Google-Attributes: gid103376,public From: Dennison Subject: Re: Two ideas for the next Ada standard Date: 1996/09/07 Message-ID: <3231C6E2.678A@iag.net>#1/1 X-Deja-AN: 179116395 references: <5009h5$ir4@netline-fddi.jpl.nasa.gov> <503sbo$j45@goanna.cs.rmit.edu.au> <507akg$t9u@krusty.irvine.com> <322D0803.3E5E@iag.net> <322F94E9.28C6@iag.net> content-type: text/plain; charset=us-ascii organization: The Dennison Family mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.02 (Win95; I) Date: 1996-09-07T00:00:00+00:00 List-Id: Robert Dewar wrote: > > That's very confused. Putting the text of the private part in the same > file as the body creates a source dependence it is true, meaning that if > you modify a body, you have to recompile clients, but it does not mean > that a client has to compile the body (that is only needed in the presence > of inlining or generics), so the presence of with's in the body is quite > irrelevant. You're right. I am confused. Let's try an example. Supose unit A withs spec B. Spec B withs units C and D, and body B withs units E-K (7 extra units). Now with private parts in the spec, the only time A has to be recompiled is when A, the spec of B, C or D changes. But if B has a private part in the BODY, it seems to me that A would have to be recompiled whenever A, the spec of B, the body of B, or C, D, E, F, H, I, J, or K change. Thus this change (assuming even distribution) makes A nearly 3 times more likely to be obsoleted by a source change. If we start adding with's to units C-K, the odds get even worse. So what am I missing here? > As for compilations taking DAYS (with a shout), this is like political > campaign rhetoric, it results in FUD but is short on technical facts :-) Obviously this could only happen if a recompile of the entire system took that long. Admittedly, the most extreme I have ever seen was 1 day. But if they hadn't used a dedicated VAX with 2 processors, it could easily have taken twice as long. -- email - mailto:dennison@iag.net homepage - http://www.iag.net/~dennison