On 03/09/2012 06:48 PM, fo...@x9c.fr wrote:
I am considering developping an OCaml
application using Lablgtk2 for the GUI,
and using ocaml-java/Nickel for calling
a Java library (namely, OWL-API). I am
working on Linux.

Has anybody tried this ? I am a bit afraid
of potential dependency problems...

This cannot work. ocaml-java is running in a JVM, but lablgtk2 is
written for the standard runtime, and assumes standard conventions for
the C bindings it needs.

A first option would be to use a Java toolkit to develop the GUI
(AWT, Swing, SWT…).

I forgot to mention it, but I already have a lablgtk2 GUI,
which I want to reuse in a different setting.

I have spent quite a lot of time lately on OCaml-Java and made
some important improvements. Performances are now quite
acceptable (always faster than OCaml bytecode and "not so far"
from native code), and it is possible to call Java libraries without
using Nickel.

However, it is still now clear when OCaml-Java 2.0 will be released ;
moreover, it will be of "alpha" quality at first.

OK, this is still good to know.

Regards,
Sébastien Ferré

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to