comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Constructors/Destructors in Ada95
Date: Mon, 30 Oct 2000 10:39:06 -0600
Date: 2000-10-30T10:39:06-06:00	[thread overview]
Message-ID: <UvhL5.4425$qR3.1490340@homer.alpha.net> (raw)
In-Reply-To: 39FD65FB.388A05D0@acm.org


Marin David Condic wrote in message <39FD65FB.388A05D0@acm.org>...
>rwilson007007@my-deja.com wrote:
>
>Very clever! However, at least one issue would be raised. A generic
>instanciation of My_Class_Name would result in a duplication of the
object
>code associated with My_Class_Name for every object of that class you
>declare. This is at least true of every Ada compiler of which I am
aware.
>I don't know if anybody supports code sharing for generics on a
currently
>marketed Ada95 compiler.

Janus/Ada 95 still uses "universal" code sharing for generics. There is
only one copy of the code for each generic unit; the instantiation
provides parameters.

I believe that there are other compilers that allow partial sharing in
limited instances.

Truth in advertising dept.: Janus/Ada 95 is not a complete
implementation of Ada 95 (a few parts are missing; notably to this
discussion, generic formal derived types). I don't know if there are any
reasons why our implementation cannot implement those part not yet
implemented (haven't found any yet, but...) I am a primary author of
that compiler, and still owrk at rrsoftware. (Our web site is
www.rrsoftware.com, if you care).

            Randy Brukardt.






  reply	other threads:[~2000-10-30 16:39 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-29 22:51 Constructors/Destructors in Ada95 rwilson007007
2000-10-30  4:03 ` Ray Blaak
2000-10-30 12:13 ` Marin David Condic
2000-10-30 16:39   ` Randy Brukardt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-18  0:00 Francois Godme
2000-10-19  0:00 ` Ted Dennison
2000-10-19  0:00 ` tmoran
2000-10-19  0:00   ` Francois Godme
2000-10-19  0:00     ` Ted Dennison
2000-10-20  0:00     ` Tucker Taft
2000-10-20  0:00       ` Francois Godme
2000-10-21  0:00         ` Marin David Condic
2000-10-23  0:00       ` Francois Godme
2000-10-24  0:00         ` Ray Blaak
2000-10-25  0:00           ` Marin David Condic
2000-10-25  0:00             ` dmitry6243
2000-10-25  0:00               ` Pascal Obry
2000-10-26  0:00                 ` dmitry6243
2000-10-25  0:00               ` mark.biggar
2000-10-26 11:44                 ` dmitry6243
2000-10-26 13:25                   ` Robert A Duff
2000-10-27  8:10                     ` dmitry6243
2000-10-26 17:55                   ` tmoran
2000-10-27  8:10                     ` dmitry6243
2000-10-26 21:31                 ` Tucker Taft
2000-10-27  8:46                   ` dmitry6243
2000-10-27  7:12             ` Ray Blaak
2000-10-25  0:00           ` Francois Godme
2000-10-27 18:11           ` Francois Godme
2000-10-30 11:36             ` Robert A Duff
2000-10-30 22:03               ` dale
2000-10-22  0:00     ` rwilson007007
2000-10-22  0:00       ` Francois Godme
2000-10-24  0:00         ` rwilson007007
2000-10-19  0:00 ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox