[REBOL] Re: Interfacing with Java, C# ......
From: volker::nitsch::gmail::com at: 4-Aug-2006 12:43
On 8/2/06, Thorsten Moeller <tmoeller-fastmail.fm> wrote:
> Hi,
>
> i am just thinking about some integration issues arising in my daily
> work and the use REBOL .
>
> Is it in general possible to establish a communication between Rebol an
> other programming language programs (perhaps via sockets), has anybody
> done something like that and what is the best method (performance,
> stability ...) if there are more than one?? It should be as universally
> as possible.
>
Sockets work. You can also call rebol from the other language and
redirect IO, like cgi does. And then work like tcp, only a bit safer
and faster (nobody else can connect). I am not sure if that works
everywhere, with apache/linux 'wait does not work. Which is needed to
wait for command/response, or at least the simplest way. IIRC i tried
java and perl/linux(open3) and tcl/linux sucessfull.
A way i am thinking about is to use a webserver and use cgis which
call other cgis as "subroutines". Slow, but most languages have good
support to run as cgi.
Also other languages can usually be embedded, so with /library you
could call them from rebol.
> Any 2c are welcome!!!
>
> Thorsten
>
> --
> http://www.fastmail.fm - Does exactly what it says on the tin
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
-Volker
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.
David
Wheeler