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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-13 08:52:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!feeder.qis.net!washdc3-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!inmet!not-for-mail From: Tucker Taft Newsgroups: comp.lang.ada Subject: Re: Compile time executed functions Date: Fri, 13 Apr 2001 11:51:17 -0400 Organization: AverStar (formerly Intermetrics) Burlington, MA USA Message-ID: <3AD72075.AD2F01DA@averstar.com> References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> <5mzw6.415$1H6.72722473@newssvr16.news.prodigy.com> <3AC2EB17.33AAEC0A@mida.se> <3ACAD197.FB2C3303@mida.se> <3AD1A935.6BC1F7C2@mida.se> NNTP-Posting-Host: nebula.burl.averstar.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: inmet2.burl.averstar.com 987177077 9475 141.199.8.77 (13 Apr 2001 15:51:17 GMT) X-Complaints-To: usenet@inmet2.burl.averstar.com NNTP-Posting-Date: 13 Apr 2001 15:51:17 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:6862 Date: 2001-04-13T15:51:17+00:00 List-Id: Mats Karlssohn wrote: > ... > > This is exactly how we do it - when we have this situation, we try to put > > the auto-generated info (and *only( the auto-generated info) in a separate > > package. This allows us to do updates with minimal impact to the rest of the > > system. We do this in Ada83; you might want to look at some of the packaging > > options (e.g. child packages) to make it even more convienient. > > I'll do that, I guess it's the way to go with today's Ada. I'll also > investigate the option of generate object code, since I belive it may > save som compilation time and more important, it saves some CM hassle > caused by bad management policy. One nice option with "today's Ada" is to put the table(s) in a package body, and then return a "general" access value pointing to it via a function, which eliminates any compile-time dependence on the contents of the tables. > > TNX > > -- > Mats Karlssohn, developer mailto:mats@mida.se > Mida Systemutveckling AB http://www.mida.se > Box 64, S-732 22 ARBOGA, SWEDEN > Phone: +46-(0)589-89808 Fax: +46-(0)589-89809 -- -Tucker Taft stt@avercom.net http://www.averstar.com/~stt/ Chief Technology Officer, AverCom Corporation (A Titan Company) Burlington, MA USA (AverCom was formerly the Commercial Division of AverStar: http://www.averstar.com/services/ebusiness_applications.html)