2009/10/12 Christophe Grand <[email protected]>:
> On Mon, Oct 12, 2009 at 12:00 PM, Roman Roelofsen
> <[email protected]> wrote:
>>
>> > Plus, if you use a shared loader for most interfaces, clojure instances
>> > will
>> > be able to share persistent data and closures.
>>
>> Nope, I tried this and it didn't work. The classloader explicitly
>> complained that e.g. Var and RT have not been loaded by the same
>> classloader :-/
>
> Sadly I know and that's why I said "most interfaces" (eg all interfaces
> starting with "I" and Associative, Counted, Seqable, Reversible and
> Sequential are safe) -- at least last time I tried.

Good point. And since most clojure data types are based on java types
(e.g. Map, Callable) the shared parent classloader is already there.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to