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-Thread: 103376,e93f73587e2bc1c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Sharing generic bodies across instantiations. Date: Tue, 27 Jul 2010 13:29:26 +0200 Organization: A noiseless patient Spider Message-ID: <87d3u9yxgp.fsf@ludovic-brenta.org> References: <4c4e2d69$0$2378$4d3efbfe@news.sover.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 27 Jul 2010 11:29:35 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="vhtspQ5pQqftjY2c+x4BbQ"; logging-data="23882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197xTXyNvqve26ONC/D5mLH" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:I4ZvhZsjs29u1iyB97OyMzghMh4= sha1:xQjJ05+d4NarTz0quT3pgBqXG8U= Xref: g2news1.google.com comp.lang.ada:12602 Date: 2010-07-27T13:29:26+02:00 List-Id: AdaMagica writes: > As far as I understand, GNAT replicates, RR shares generic code. > (Don't know about IBM (former Rational).) My understanding is similar; indeed, Janus/Ada is the only compiler that shares generics. Unfortunately, no compiler offers the option to choose; this is an implementation decision. -- Ludovic Brenta.