From: stt@houdini.camb.inmet.com (Tucker Taft)
Subject: Re: dynamic loading and Ada95
Date: 1997/10/28
Date: 1997-10-28T00:00:00+00:00 [thread overview]
Message-ID: <EIrr5r.6yI.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: 87iuujxeb1.fsf@laplace.casi.polymtl.ca
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
next prev parent reply other threads:[~1997-10-28 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-27 0:00 dynamic loading and Ada95 Louis-Dominique Dubeau
1997-10-28 0:00 ` Tucker Taft [this message]
1997-10-29 0:00 ` Louis-Dominique Dubeau
1997-10-30 0:00 ` Tucker Taft
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox