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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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 01:30:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!enst!enst.fr!not-for-mail From: gautier@club.lemonde.fr Newsgroups: comp.lang.ada Subject: Re: Ada to C++ translator? Date: Thu, 22 Feb 2001 10:24:35 +0100 (CET) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: avanie.enst.fr 982833940 18308 137.194.161.2 (22 Feb 2001 09:25:40 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 22 Feb 2001 09:25:40 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Medianet/v1.14 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:5421 Date: 2001-02-22T10:24:35+01:00 Martin Dowie: >Also, some compilers don't produce very efficient (in size) code for >package body X is > ... > Y : Y=5FType :=3D (others =3D> (...)); > ... >end X; Do you know one that does ? BTW I rather see a problem in time. The expression =22(others =3D> (...))=22 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. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Gautier -- http://www.diax.ch/gdm/