bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] )ERASE and )CLEAR erases native functions


From: Juergen Sauermann
Subject: Re: [Bug-apl] )ERASE and )CLEAR erases native functions
Date: Fri, 18 Apr 2014 14:38:01 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

I believe that currently )ERASE or ⎕EX cause the native function to be removed from the APL symbol table but the .so file is not dlclosed() and the native function
object is not removed.

The .so file and the native function object are typically very small by today's
disk size and memory size standards, so I would rather leave it this way.

Main reason is that we can't really know what happens inside native functions
and dlclosing() a lib can have disastrous effects.

/// Jürgen


On 04/17/2014 06:56 AM, Elias Mårtenson wrote:
Is it per design to be able to )ERASE native functions?

There is currently no unload capability in the native APL (and frankly, I'm not entirely sure it's always reasonable to assume that such functionality can even be implemented with any degree of stability).

With that in mind, does it make sense to be able to erase them?

Regards,
Elias




reply via email to

[Prev in Thread] Current Thread [Next in Thread]