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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b621ee88fe295b66 X-Google-Attributes: gid103376,public From: stt@houdini.camb.inmet.com (Tucker Taft) Subject: Re: dynamic loading and Ada95 Date: 1997/10/28 Message-ID: #1/1 X-Deja-AN: 285571884 Sender: news@inmet.camb.inmet.com (USENET news) X-Nntp-Posting-Host: houdini.camb.inmet.com References: <87iuujxeb1.fsf@laplace.casi.polymtl.ca> Organization: Intermetrics, Inc. Newsgroups: comp.lang.ada Date: 1997-10-28T00:00:00+00:00 List-Id: Louis-Dominique Dubeau (ldd@step.polymtl.ca) wrote: : I'm looking for implementations of dynamic loading for Ada95. I made : an implementation of dynamic loading for Modula-3 and wish to compare. The AppletMagic(TM) Ada95 => Java byte code compiler uses dynamic loading. : The problematic in both cases should be similar in at least two points: : - how to integrate package information after a dynamic load Java has the notion of "class initialization" routines. These are executed after a class is loaded. In our mapping, a package spec and a package body each turn into a Java class, each with its own class-init routine. These are executed when the package is loaded. : - how to integrate tagged type information after a dynamic load and update : the tagged types tree Our tagged type "tree" (used by Ada.Tags.Internal_Tag(String)) is built up dynamically, as a result of "elaborating" the declaration of a tagged type. So dynamic loading does not cause a problem. : Thanks, : ldd -- -Tucker Taft stt@inmet.com http://www.inmet.com/~stt/ Intermetrics, Inc. Burlington, MA USA