[armedbear-devel] Some thoughts on classloaders, ...
ville.voutilainen at gmail.com
Tue Sep 22 07:56:43 UTC 2009
2009/9/22 Alessio Stalla <alessiostalla at gmail.com>:
> have just described the abcl classloader ;) However, my original point
> was not about the general compilation model of abcl, which is more
> than fine by me; rather, it was about the specific fact that the
> generated code includes instructions to load the other code it needs
> (compiled local functions), and I think that is a Bad Idea and we can
> use classloaders properly to avoid it.
How exactly do we emit the instructions to load the other code that the
classes need? AFAIK the classloader approach loads referenced classes
automatically if they're not already present, without us having to
load/autoload anything. Thus the classloader approach may end up
being simpler after all.
More information about the armedbear-devel