This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Embedding kawa in a multi-threaded servlet environment (a few questions).
- From: Eric Merritt <cyberlync at yahoo dot com>
- To: Chris Dean <ctdean at sokitomi dot com>
- Cc: kawa at sources dot redhat dot com
- Date: Tue, 30 Dec 2003 14:06:06 -0800 (PST)
- Subject: Re: Embedding kawa in a multi-threaded servlet environment (a few questions).
--- Chris Dean <ctdean@sokitomi.com> wrote:
>
> > Not a lot of information but there is one guy
> there claiming that kawa
> > is very thread *unsafe* and I would just like one
> of you guys to
> > confirm or deny. I
>
> Put me in the "deny" category. We have
> multi-threaded code that is
> running in production settings.
>
> Kawa is a compiler that compiles code down to the
> java virtual machine.
> It is just as thread safe as the JVM (and Java) is
> thread safe. Because
> the code is running on a JVM you must "synchronize"
> code that needs to
> be reentrant, just like you would in Java. The
> underlying libraries are
> also thread safe.
> There is a specific form in Kawa called "fluid-let"
> that is often used
> in thread based programming. In the past, fluid-let
> has had bugs but
> the current released code has all of these bugs
> fixed (as far as I can
> tell at least!).
I am not so much worried about a script being
multi-threaded as much as I am an the same interpreter
being used accross many threads.
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003