On 02/03/12 13:28, Sean Kelly wrote:
On Mar 1, 2012, at 6:42 PM, Geoffrey Biggs<geoffrey.bi...@aist.go.jp>  wrote:

On 02/03/12 10:54, Walter Bright wrote:
On 3/1/2012 4:43 PM, Geoffrey Biggs wrote:
Morning all,

In a project just starting, we want to use D (for its safety, amongst
other
things). However, we also need to connect to distributed objects that
have CORBA
interfaces. I did a search, and the most recent mention of CORBA and D
that I
could find is a post to this list nearly 5 years ago:

http://www.digitalmars.com/d/archives/digitalmars/D/Using_CORBA_with_D_55285.html


The linked project is still just as empty now as it was then.

Does anyone know of any existing approaches to using CORBA from D that
have
perhaps appeared since then? If there isn't a direct implementation,
what are
the chances of using a C++ library such as omniORB from D?

Isn't CORBA based on COM? D supports COM interfaces.

Are you referring to Microsoft's COM? If so, then I don't *think* there's any 
connection. CORBA and Microsoft's COM/DCOM are not compatible. CORBA uses a 
different (standardised, for what that's worth) distribution protocol to DCOM.

I haven't heard of one. Does omniORB use a pre-compiler?  This would be a great 
use of CTFE in a native D implementation.

Yes, there's the omniidl IDL compiler, to go from OMG IDL to C++ objects (or Python objects, if you're using omniORB-py). Unfortunately, the code it produces is enough to make you go blind, so it's not something I would want to write D bindings for manually.

Geoff

Reply via email to