Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
question about the jvm backend
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-06-10 (14:27)
From: Martin DeMello <martindemello@g...>
Subject: question about the jvm backend
I have an OCaml implementation of an algorithm that I now want to use
from clojure. As I see it, my options are:

1. Port to clojure
2. Port to scala (better support for pattern matching will make it
easier to port, also scala might be faster)
3. Recompile the OCaml code against the JVM

(3) seems like the easiest choice, but from what I could gather from
the docs, there is not much support for generating a library that can
be consumed by a main program in another language. Is this going to
change in 2.0?