ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-internals
perl6-internals
Re: Multimethod dispatch function installation issues
by Nicholas Clark other posts by this author
Sep 29 2003 6:51PM messages near this date
Re: Multimethod dispatch function installation issues | Missing urm.in
On Mon, Sep 29, 2003 at 10:28:25AM -0400, Dan Sugalski wrote:
>  On Mon, 29 Sep 2003, Mark A. Biggar wrote:


>  > Isn't there also the option to force load the missing class(es)

>  > recursively?

>  

>  We could, but I don't want to do that here. Just because a PMC class

>  presents functions for other PMC classes doesn't mean we necessarily want

>  to load those classes--just to have the functions available if those

>  classes are ultimately loaded. I'd prefer to leave class loading to

>  explicit "load this class" code, rather than have it implicit. Besides,

>  it's distinctly possible that many of the functions will be for classes

>  that aren't even available.


Also this could cause such a maze of automatically loaded dependencies
that using any class from parrot's supplied builtins would drag in pretty
much every class.

However, would it be possible to schedule the other classes for lazy loading
(` la perl5's AUTOLOAD), so that the functions behave as if they were
defined at the correct time, but actually pull in the needed bulky libraries
only if invoked?

Nicholas Clark


Thread:
Dan Sugalski
Nicholas Clark
Mark A. Biggar
Dan Sugalski
Nicholas Clark

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved