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,1d52a75fd633fefc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 02:30:20 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: Subject: Re: Ada to C++ translator? Date: Thu, 22 Feb 2001 10:21:50 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: superted.dsge.edinbr.gmav.gecm.com Message-ID: <3a94e65a@pull.gecm.com> X-Trace: 22 Feb 2001 10:13:46 GMT, superted.dsge.edinbr.gmav.gecm.com Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!superted.dsge.edinbr.gmav.gecm.com Xref: supernews.google.com comp.lang.ada:5422 Date: 2001-02-22T10:21:50+00:00 List-Id: that would be Apex - haven't tried it on others I would say it is a portability problem, if that extra memory requirements push you over some limit (physical, logical or contractural). wrote in message news:mailman.982833940.13855.comp.lang.ada@ada.eu.org... Martin Dowie: >Also, some compilers don't produce very efficient (in size) code for >package body X is > ... > Y : Y_Type := (others => (...)); > ... >end X; Do you know one that does ? BTW I rather see a problem in time. The expression "(others => (...))" is often built in a nonoptimised manner, in an extra buffer, then copied in to Y. But, it is not a portability problem : this feature *will work* on any Ada compiler, although not too efficienty. ____________________________________ Gautier -- http://www.diax.ch/gdm/