On Tue, Oct 27, 2009 at 09:30:32AM +1030, Bas Scheffers wrote:
> Subject: Re: [AOLSERVER] is it necessary

> Tcl seems to be the only language that is thread safe and can be
> embedded in the way it is in AOLserver.

Lua should definitely work.  Indeed, Lua is supposed to be even easier
to embed than Tcl.  It basically came to exist because back in 1993,
its creators wanted a dynamically typed language that was small,
simple, cross platform, and readily embeddable, but they didn't care
for Tcl.

There are also some nice-sounding thread-safe Javascript
implementations out there, which should be embeddable.  Dossy was
enthusiastic about those a while back, and started on "nsjsapi".

Lua also has cool stuff like LuaJIT, and it should be straightforward
to build Tcl-like "apartment model" (aka, lightweight process)
threading and inter-thread communications.  Hm, I remember talking
about this before; yeah back in April 2008:

  http://groups.google.com/group/aolserver/msg/13fec53483ddfb0c

Check out the rest of that old thread too; a bunch of people had
useful stuff to say about adding new programming languages to
AOLserver, some of its history, and related matters.

-- 
Andrew Piskorski <a...@piskorski.com>
http://www.piskorski.com/


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to