Besides the FFI option, I know that Haskell has pretty good Lua
bindings [1] and Lua has pretty good Java bindings [2] so perhaps the
law of transitivity can work for you!
-deech
[1] http://hackage.haskell.org/package/hslua-0.2
[2] http://www.keplerproject.org/luajava/manual.html
On Mon, Jul
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,
I use Apache Thrift, as someone else mentioned for IPC with some java code that
connects to a third party data vendor. As of version 0.2, there are some bugs
that you need to be aware of.
However, and possibly more of interest to you, I have already written a FIX
implementation in pure
A simpler solution might be Facebook's thrift [1]
This is a very interesting solution. I'll investigate Thrift further,
but it may wind up being what I do. Does anyone know how solid this
code is in Haskell?
the Java binary directly from Haskell using System.Process and friends, and
rather
From: Daniel Cook danielkc...@gmail.com
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.
1) How stable/defined is FIX?
Not very. There are several protocol versions, various vendors have
their own custom message types, there are service packs released
fairly regularly updating the protocol for new message types, etc.
2) How large of a subset of FIX do you use?
I will be using
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
HI Dan,
It depends on how much of the protocol you're going to use.
If you only have to use some kinds of messages it may be fastest to use
Scala and Actors using the Java library.
Depending on the data I'd use a very simple protocol for the
communication Haskell - Scala.
Whether you should
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
I would probably start by writing a JNI wrapper around QuickFIX to expose it
to C and C-like languages. Then I would write a Haskell FFI binding to that
library. In this way, C will become your glue language as odd as that may
sound.
vs.
Depending on the data I'd use a very simple
Daniel Cook wrote:
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)
A simpler solution might be Facebook's
11 matches
Mail list logo