comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: On intended use cases of the distributed annex
Date: Fri, 26 Sep 2014 00:36:27 -0700 (PDT)
Date: 2014-09-26T00:36:27-07:00	[thread overview]
Message-ID: <839d7364-8e5d-4273-bd96-d4452e2dc817@googlegroups.com> (raw)
In-Reply-To: <O7WUv.288917$Y4.282381@fx24.iad>

W dniu czwartek, 25 września 2014 17:02:07 UTC+2 użytkownik Brad Moore napisał:

> Not quite true that all the nodes need to be written in Ada.  I have 
> used DSA to send C++ objects to C++ applications (or at least objects of 
> C++ classes that are derived from Ada types), and as well had C++ 
> applications remotely interacting with each other C++ and other Ada 
> applications using the DSA.

This sounds interesting. Can you give a bit more details on this? Was it related to the DSA implementation that actually used CORBA under the hood? Was it necessary to extract some interface definition files from Ada specs?
Or did you just reverse-engineered the DSA wire protocol that was in use?
Was your solution immune to compiler upgrades?
And so on - lot's of questions. :-)

> I also appreciate that the DSA is more closely integrated with the 
> compiler, allowing the compiler to check and catch problems that a 
> library only approach does not provide.

Was it also closely integrated with the C++ nodes? ;-)

The "close integration with the compiler" makes most sense when there is a single build process for all the nodes. Otherwise there is no guarantee that individual nodes are compiled with the same specs and the whole notion of static type safety goes down the drain. This is particularly relevant in bigger systems where distinct nodes are developed by different teams and/or are deployed at different time schedules. More on this here:

http://www.inspirel.com/articles/What_Is_Wrong_With_IDL.html

Still, I'm very much interested in your Ada/C++ integration over DSA.

-- 
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com


  reply	other threads:[~2014-09-26  7:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24  9:37 On intended use cases of the distributed annex Alejandro R. Mosteo
2014-09-24 10:08 ` tonyg
2014-09-24 10:09   ` tonyg
2014-09-24 10:09 ` Pascal Obry
2014-09-24 10:42   ` Alejandro R. Mosteo
2014-09-24 10:51     ` Alejandro R. Mosteo
2014-09-25  8:30 ` Maciej Sobczak
2014-09-25  9:26   ` J-P. Rosen
2014-09-25 14:36     ` Maciej Sobczak
2014-09-25 15:02   ` Brad Moore
2014-09-26  7:36     ` Maciej Sobczak [this message]
2014-09-30  5:44       ` Brad Moore
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox