
(oops, forgot to reply all) if you're on the jvm already why not consider clojure? it lacks static typing, but S expressions can stand in for haskell types if you really need them to. otherwise you'll have to do some fancy JNI calls and worry about calling haskell from C, like this http://www.haskell.org/haskellwiki/Calling_Haskell_from_C On Thu, May 9, 2013 at 11:04 AM, Hans Georg Schaathun < georg+haskell@schaathun.net> wrote:
Hi all,
I am rather new to the café, so I just hope my question fits in.
Does anyone have experience with integrating Haskell and Java? I have done some searching, finding a lot of pointers but hardly anything in terms of evaluation, successes, or caveats.
From what I see Frege looks promising, arguably not haskell I suppose, but does it work? Other projects I have seen appear to have reached a stand-still for ages.
The background for the question is that I will contribute some control algorithms based on machine learning or AI in a larger project. It would save me a lot of time if I could write in Haskell, but only assuming that interfacing with Java afterwards is trivial compared to writing everything in java in the first place. I am, perhaps, particularly worried that a Haskell-lookalike for JVM might be unable to optimise properly, like not being lazy. Any advice?
TIA -- :-- Hans Georg
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe