>
> Someone has written a large Java library (QuickFIX/J) which speaks
> a gnarled, ugly protocol (FIX).


They've also written a large C++ library for the same purpose called
QuickFix[1].
You could try wrapping it directly via the Haskell FFI.

Travis

[1] http://www.quickfixengine.org/


On Thu, Jul 8, 2010 at 6:35 PM, Daniel Cook <danielkc...@gmail.com> wrote:

> Hi,
>
> Someone has written a large Java library (QuickFIX/J) which speaks a
> gnarled, ugly protocol (FIX).  There don't appear to be any FIX
> protocol libraries in Hackage.  I need my Haskell program to talk to a
> 3rd-party system that only speaks FIX.
>
> Should I:
>
> a) Reimplement the protocol directly Haskell?  (This appears to be
> non-trivial)
>
> b) Wrap the Java library with some code to use a lightweight message
> queue (zeromq) to send messages to my Haskell program?  (This would
> require essentially re-implementing an abstracted subset of the the
> protocol into 0MQ messages)
>
> c) Find a way for Haskell to interact directly with Java? (the various
> JNI bridges seem very unmaintained...)
>
> To me, (b) seems like the best approach, but I'd like to hear what the
> cafe thinks..
>
> Cheers,
> - Dan
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to