At 06:27 AM 8/25/00 -0700, Benjamin Stuhl wrote:
> > At 10:08 PM 8/24/00 -0600, Nathan Torkington wrote:
> > >Dan Sugalski writes:
> > > > One of the current plans is for the parser to have
> > access to a list of
> > > > functions that trigger autoloading modules.
> > >
> > >Isn't dynamic loading really slow?
> >
> > Not particularly, at least not as far as I know. There's
> > some extra cost in
> > finding the library and loading it that you wouldn't pay
> > if you were linked
> > directly to it, but AFAIK that's about it.
> >
> > Dan
>
>There's also the issue that _each_ symbol must be requested
>manually and stored somewhere (in a MT-safe manner, of
>course), rather than having the loader resolve everything
>in one pass.
Far, *far* too much work. We request one function from the library, which
is some bootstrap code that handles installing the pseudo-op functions in
that library into a vector table somehwere, and we make sure that darned
near everything we need to know about the library's built for us in advance.
This scheme may ultimately not be worth it for things like the math
functions, and that's fine. It doesn't, however, need to be particularly
expensive.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk
- Re: RFC 146 (v1) Remove socket functions fr... Larry Wall
- core wars (was Re: RFC 146 (v1) Remove ... Uri Guttman
- Re: core wars (was Re: RFC 146 (v1... Dan Sugalski
- RE: RFC 146 (v1) Remove socket functions from core Lipscomb, Al
- Re: RFC 146 (v1) Remove socket functions from core Tom Christiansen
- Re: RFC 146 (v1) Remove socket functions from core Benjamin Stuhl
- Re: RFC 146 (v1) Remove socket functions from core Nick Ing-Simmons
- Re: RFC 146 (v1) Remove socket functions from c... Dan Sugalski
- Re: RFC 146 (v1) Remove socket functions fr... Bryan C . Warnock
- Re: RFC 146 (v1) Remove socket functions from core Benjamin Stuhl
- Re: RFC 146 (v1) Remove socket functions from core Dan Sugalski
- Re: RFC 146 (v1) Remove socket functions from core Nick Ing-Simmons
- RE: RFC 146 (v1) Remove socket functions from core Lipscomb, Al
- RE: RFC 146 (v1) Remove socket functions from core Fisher Mark
- Re: RFC 146 (v1) Remove socket functions from core Larry Wall
- how small is small? (was Re: RFC 146 (v1) Remove so... Bradley M. Kuhn
- RE: RFC 146 (v1) Remove socket functions from core Lipscomb, Al
- Re: RFC 146 (v1) Remove socket functions from core Tom Christiansen
- RE: RFC 146 (v1) Remove socket functions from core Lipscomb, Al
- RE: RFC 146 (v1) Remove socket functions from core Fisher Mark
- RE: RFC 146 (v1) Remove socket functions from core Nick Ing-Simmons
