[1902] in java-interest

home help back first fref pref prev next nref lref last post

Re: mo betta questions

daemon@ATHENA.MIT.EDU (Peter Parnes)
Tue Sep 19 20:09:35 1995

To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Cc: Frank Greco <fgreco@lehman.com>, java-interest@java.Eng.Sun.COM
In-Reply-To: Your message of "Tue, 19 Sep 1995 11:52:36 -0800."
             <Roam.1.2.811536756.21818.avh@acorn> 
Date: Tue, 19 Sep 1995 22:20:14 +0200
From: Peter Parnes <peppar@cdt.luth.se>

Arthur.Vanhoff@Eng.Sun.COM said:
> > 6.  How can one embed the java interpreter into a C/C++ pgm a la tcl?=

> > If this is possible, can you have multiple instances of the interpret=
er?

> It is possible (Netscape did it), but it is very hard because the =

> interpreter is preemptively multi-threaded. Java is not an embeddable =

> language like tcl.

A simpler approach is to fire up the Java-interpreter as a separate proce=
ss =

from another program and communicate with the interpreter using a piped =

in/output. Two of my students have done this from Tcl/Tk (extending the =

mail-client Exmh to handle Java-letters in an intergrated fashion).

/Peppar


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post