develooper Front page | perl.perl6.language | Postings from February 2001

Re: Really auto autoloaded modules

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
February 1, 2001 13:22
Subject:
Re: Really auto autoloaded modules
Message ID:
5.0.2.1.0.20010201161946.01a1f360@24.8.96.48
At 09:49 PM 2/1/2001 +0100, Johan Vromans wrote:
>Dan Sugalski <dan@sidhe.org> writes:
>
> > The module loaded can define the routines as either regular perl
> > subs or opcode functions (the difference is in calling convention
> > mainly) [...]
>
>Difference in calling convention at the user level or just internal?

Internal mainly. There'll be prototype and attribute changes at the perl 
level, but they're pretty trivial. (What they'll be is up in the air, but 
there'll have to be some) Perl subs get passed in a list of variable size, 
while opcode functions will get passed in a known number of parameters, 
likely in registers. Or on the stack, depending on the platform.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About