comp.lang.ada
 help / color / mirror / Atom feed
From: emery@goldfinger.mitre.org (David Emery)
Subject: Re: Magnavox consultant trashes Ada tools in IEEE Computer
Date: 1 Nov 94 10:18:24
Date: 1994-11-01T10:18:24+00:00	[thread overview]
Message-ID: <EMERY.94Nov1101824@goldfinger.mitre.org> (raw)
In-Reply-To: mg@asp.camb.inmet.com's message of Fri, 28 Oct 1994 15:12:49 GMT

Mitch wrote: 
>Something ...caused Magnavox to go the direction of using lots of
>very deeply nested subunits, and lots of parent and child libraries.
>Rational subsystems were mapped into Alsys parent-child libraries.
>They were using a library structure with parent-child-grandchild... to
>at least 10 levels deep. 

It's worth noting that I've seen similar problems with other compiler
systems.  A contractor that shall remain nameless once used a very
strict functional decomposition methodology with Ada.  Their mapping
to Ada was to use subunits.  So you ended up with:

	procedure Main is
          procedure Level1_Op1 is separate;
          procedure Level1_Op2 is separate;
        begin
          Level1_Op1;
          Level1_Op2;
	end Main;

	separate
	(Main)
	procedure Level1_Op1 is
	  procedure Level2_Op1 is separate;
          procedure Level2_Op2 is separate;
        begin
	  Level2_Op1;
	  Level2_Op2;
	end;

	separate
	(Main.Level1_Op1)
	procedure Level2_Op1 is ...

The compiler performance, by the time you got down to 
"separate (Main.Level1_Op1.Level2_Op1.Level3_Op1.Level4_Op1) 
 procedure Level5_Op1 is"

The compiler can have a heluva time creating the appropriate context
for a deeply nested subunit.

				dave
--
--The preceeding opinions do not necessarily reflect the opinions of
--The MITRE Corporation or its sponsors. 
-- "A good plan violently executed -NOW- is better than a perfect plan
--  next week"                                      George Patton
-- "Any damn fool can write a plan.  It's the execution that gets you
--  all screwed up"                              James Hollingsworth
-------------------------------------------------------------------------



  reply	other threads:[~1994-11-01 10:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-27 20:48 Magnavox consultant trashes Ada tools in IEEE Computer CONDIC
1994-10-28 15:12 ` Mitch Gart
1994-11-01 10:18   ` David Emery [this message]
  -- strict thread matches above, loose matches on Subject: below --
1994-10-25 17:06 Nick Sizemore
1994-10-24 21:52 CONDIC
1994-10-20  9:35 Bob Wells #402
1994-10-18 23:30 Douglas Rupp
1994-10-11 20:48 Gregory Aharonian
1994-10-13 14:52 ` Paul Slonaker
1994-10-13 20:35   ` Ariel Lieberman
1994-10-17 23:48 ` TOM
1994-10-19  2:07   ` Bob Duff
1994-10-19 11:17     ` Robert I. Eachus
1994-10-21 20:28       ` Ed Falis
1994-10-23 15:41         ` Norman H. Cohen
     [not found]         ` <leschkes.783014077@ferret>
1994-10-25 17:03           ` Bob Kitzberger
1994-10-19 13:31     ` Robert Dewar
1994-10-24 22:26   ` Robert Monical
1994-10-25 14:53     ` Esther Lumsdon
replies disabled

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