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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,28b389d4503cb555 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: generic package dilemma Date: 1999/12/06 Message-ID: <82fifn$o20$1@nnrp1.deja.com>#1/1 X-Deja-AN: 556972485 References: <80u48b$ghr$1@bunyip.cc.uq.edu.au> <3832e27f_1@news1.prserv.net> <3832E75D.5B1BA719@mail.com> <383319e8_4@news1.prserv.net> <3833F615.5AD7166C@mail.com> <383442e1_1@news1.prserv.net> <383510EA.9DFEE8B6@mail.com> <383569db_2@news1.prserv.net> <3835CF7A.5604C6A3@mail.com> <81bt4v$7cr$1@nnrp1.deja.com> <81cru4$url$1@nnrp1.deja.com> <38464A8F.FDE762F9@mail.com> <828mu3$8i0$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x39.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Dec 06 05:44:23 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-12-06T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > The other point is that cycles are not common, and are > usually small (length 2, often), so the link-time efficiency > problem is probably > not so bad. That's still a huge amount of information that has to be passed from the compiler to the linker (to enable it to do full call graph analysis) I don't see it as practical to mandate this. After all, the GNAT approach just corresponds to good programming practice (clearly calling something from a package at elaboration time without using Elaborate_All is plain bad coding practice!) In practice, I don't think anyone has found the static scheme a big burden except in Ada 83 legacy code. We don't know of anyone using the dynamic approach *except* in the Ada 83 legacy code case. Sent via Deja.com http://www.deja.com/ Before you buy.