[Haskell-beginners] very impure [global] counter
Thomas
haskell at phirho.com
Sat Jul 23 01:50:43 CEST 2011
Hello David,
since your first approach was via the filesystem I assume you only need
to call a more or less limited number of methods in Java. If this is the
case then I would try to embed Java into C and call C from Haskell via
the FFI.
I have done both individually, it's not hard and it worked pretty well.
I'm not sure if there are any lurking problems when "double embedding".
But even if that should fail: before using the filesystem as
communication mechanism I'd probably use some sort of IPC (probably
network).
If you really want a virtual filesystem for the communication, you can
always set one up in your host OS:
http://www.vanemery.com/Linux/Ramdisk/ramdisk.html
Or search the web for "ramdisk <os of choice>" if you're not using Linux.
I don't think Haskell provides this functionality as a library. I may be
wrong, though.
HTH,
Thomas
On 22.07.2011 19:23, Davi Santos wrote:
> Aditya,
> as I could search, If there is a C version of Weka, it appears to be very
> outdated by now.
> The library I use is http://www.cs.waikato.ac.nz/ml/weka/.
>
> Davi
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
More information about the Beginners
mailing list