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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e5015e00941d1492 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-01 07:34:40 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!eff!blanket.mitre.org!linus.mitre.org!linus!mbunix!emery From: emery@goldfinger.mitre.org (David Emery) Newsgroups: comp.lang.ada Subject: Re: Magnavox consultant trashes Ada tools in IEEE Computer Date: 1 Nov 94 10:18:24 Organization: The Mitre Corp., Bedford, MA. Message-ID: References: <9410272051.AA16079@ajpo.sei.cmu.edu> NNTP-Posting-Host: goldfinger.mitre.org In-reply-to: mg@asp.camb.inmet.com's message of Fri, 28 Oct 1994 15:12:49 GMT Date: 1994-11-01T10:18:24+00:00 List-Id: 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 -------------------------------------------------------------------------