Another approach, which would perhaps be more generically useful is to
use Java via the Java Native Interface. From the javasoft page:
"Java Native Interface is a standard programming interface for writing
Java native methods and embedding the Java virtual machine into native
applications. The primary goal is binary compatibility of native
method libraries across all Java virtual machine implementations on a
given platform."
(http://www.javasoft.com/products/jdk/1.2/docs/guide/jni/index.html)
By allowing Haskell to script and control Java objects, Haskell would
instantly have:
1. a reasonable gui (AWT and Swing)
2. a decent set of network and http libraries
3. decent database libraries (ODBC/JDBC)
4. RPC and Corba support via Java RMI
5. encryption
6. Linda style parallel processing via javaspaces
7. a better relationship with the rest of the industry
And it would offer these capabilities on a cross platform basis.
Developers could wrap the Java libs with more sophisticated Haskell
interfaces as the language evolves...
-Alex-
___________________________________________________________________
S. Alexander Jacobson i2x Media
1-212-697-0184 voice 1-212-697-1427 fax
On Wed, 5 Aug 1998, Olaf Chitil wrote:
> We have developed here a large Haskell program with ghc-2.08. Now we want to
> extend it by a graphical user interface, preferably using Haskell as well. I am
> aware of Fudgets and Haggis, but it seems that their development ceased in 1996
> (correct?). Obviously we are searching for a library which will still be
> supported for some time (we are currently moving to ghc-3.0x, because we need
> HDirect). I worked a bit with TKGofer and liked it. Also I have more trust in
> the future of an interface to TK than a library that is developed from scratch.
>
> Are there other choices? Is there a TKHaskell (under development)? Does anybody
> have experiences with using one of these GUI libraries?
>
> I'm sure we are not the only ones interested in this subject.
>
>
> Thank you for any comments,
> Olaf
>
> --
> OLAF CHITIL, Lehrstuhl fuer Informatik II, RWTH Aachen, 52056 Aachen, Germany
> Tel: (+49/0)241/80-21212; Fax: (+49/0)241/8888-217
> URL: http://www-i2.informatik.rwth-aachen.de/~chitil/
>