[Haskell-cafe] Interfacing Java/Haskell

Dan Mead d.w.mead at gmail.com
Thu May 9 17:31:18 CEST 2013


(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 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130509/cf95a2b6/attachment.htm>


More information about the Haskell-Cafe mailing list