Timothy Robin BARBOUR writes:
> >>>>> "Sigbjorn" == Sigbjorn Finne <[EMAIL PROTECTED]> writes:
> 
>     Sigbjorn> As part of H/Direct, we're going to support something
>     Sigbjorn> similar to JNI for the new Hugs/GHC system, see
> 
>     Sigbjorn>    http://www.dcs.gla.ac.uk/fp/software/hdirect
> [...]
>     Sigbjorn> This document expresses the interface in terms of a
>     Sigbjorn> bunch of COM interfaces, but that's just one way of
>     Sigbjorn> packaging up the provided API.
> 
> What about a CORBA interface. CORBA is an open, vendor-independent
> standard. There is a good open-source ORB, namely omniORB , see
> 

Sure, you could package up this with a CORBA interface too. However,
this interface will just expose a low-level invocation interface ala
JNI, which is somewhat primitive if you're planning to implement CORBA
objects in Haskell. For that, you'll want an IDL compiler capable of
generating stubs that takes care of dressing up your Haskell code as a
CORBA object.

I'm just about to start implementing IDL compiler support for
generating Haskell COM object stubs, but once that is finished, I'd
like to extend H/Direct to also deal with CORBA and OMG's IDL
syntax. (I believe there are others also working on making Haskell
more CORBA-friendly.) 

Advice on what's the most appropriate ORB to target would be greatly
appreciated, there's already quite a selection to choose from (ORBit,
Mico, omniORB etc.)

--Sigbjorn


Reply via email to