"DS" == Dan Sugalski [EMAIL PROTECTED] writes:
DS At 10:26 PM 8/12/00 -0400, Chaim Frenkel wrote:
If we are going to have pre-compiled modules (bytecode or machine) why
bother with AUTOLOAD?
The "registry" would handle the 'autoloading'
DS It can't, though. We don't know at compile time (especially if we're
DS compiling just a module) what AUTOLOAD could be called with.
Sorry, What I meant was, the need for AUTOLOAD went down. Pulling in
modules as needed, for speed reasons.
If items are loaded on demand (socket, dbm, http, whatever) so can
arbitrary pieces of code.
Blue Sky
All compiled code is in a special file that allows mmap access.[1] Then
an unrecognized subroutine, can be checked against the registry. And
an automagical use can be performed.
/Blue Sky
Actually that's a little too automagical, it might make typos turn into
wierd calls.
chaim
[1] I'm remembering my MVS days with all code in PDS with the compiled
code arranged on disk to quickly load itself into memory.
chaim
--
Chaim FrenkelNonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183