Re: Procedure types

From: H. v. L. <"H.>
Date: Sun, 21 Nov 2004 10:57:57 +0100

----boundary-LibPST-iamunique-198879002_-_-
Content-type: text/plain

My question is:
Are procedure types really a problem for the run time system?

On Sat, 20 Nov 2004 08:56:57 +0300, Fyodor Tkachov
<fyodor.tkachov{([at]})nowhere.xy

> Wojtek, the idea is interesting but seems to require a lot of run-time
> overhead:
> When a request to unload a module comes from somewhere, how the run-time
> would know all
< the procedure variables that point to the module's procedures? A list
has to be maintained
< with back references. This contradicts the Oberon philosophy: complex
things should be
< made manifest to the programmer.

If I am right, BlackBox maintains a list of loaded modules anyway and
those modules not being top level modules, which therefore cannot be
unloaded, are dynamically marked. So the run time system checks whether a
module contains a reference - in this case via inheritance - to another
module.
Actually I don't see any difference between checking an inheritance
relation and checking a pointer to a foreign procedure, the list of
references does exist, so it only must be enlarged by procedure
references!?

Regards

Harro
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-198879002_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5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