www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - CORBA in D

reply Geoffrey Biggs <geoffrey.biggs aist.go.jp> writes:
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?


Thanks,
Geoff
Mar 01 2012
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
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.
Mar 01 2012
next sibling parent Geoffrey Biggs <geoffrey.biggs aist.go.jp> writes:
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. Geoff
Mar 01 2012
prev sibling next sibling parent Sean Kelly <sean invisibleduck.org> writes:
On Mar 1, 2012, at 6:42 PM, Geoffrey Biggs <geoffrey.biggs 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,
=20
 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:
=20
 http://www.digitalmars.com/d/archives/digitalmars/D/Using_CORBA_with_D_5=
5285.html
=20
=20
 The linked project is still just as empty now as it was then.
=20
 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?
=20 Isn't CORBA based on COM? D supports COM interfaces.
=20 Are you referring to Microsoft's COM? If so, then I don't *think* there's a=
ny connection. CORBA and Microsoft's COM/DCOM are not compatible. CORBA uses= a different (standardised, for what that's worth) distribution protocol to D= COM. I haven't heard of one. Does omniORB use a pre-compiler? This would be a gr= eat use of CTFE in a native D implementation.=20=
Mar 01 2012
prev sibling parent Geoffrey Biggs <geoffrey.biggs aist.go.jp> writes:
On 02/03/12 13:28, Sean Kelly wrote:
 On Mar 1, 2012, at 6:42 PM, Geoffrey Biggs<geoffrey.biggs 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
Mar 01 2012
prev sibling parent reply "Martin Nowak" <dawg dawgfoto.de> writes:
On Fri, 02 Mar 2012 01:43:17 +0100, Geoffrey Biggs  
<geoffrey.biggs aist.go.jp> 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?


 Thanks,
 Geoff
There was some Thrift support in the workings if that might help you.
Mar 02 2012
parent Geoffrey Biggs <geoffrey.biggs aist.go.jp> writes:
On 02/03/12 21:43, Martin Nowak wrote:
 On Fri, 02 Mar 2012 01:43:17 +0100, Geoffrey Biggs
 <geoffrey.biggs aist.go.jp> 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?


 Thanks,
 Geoff
There was some Thrift support in the workings if that might help you.
Thanks for the pointer. Unfortunately, CORBA and Thrift are not compatible. Geoff
Mar 04 2012