From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx24.iad.POSTED!not-for-mail From: Brad Moore User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: On intended use cases of the distributed annex References: <20a06909-d123-4c51-8185-057d50e50186@googlegroups.com> <2fe842c3-1e5c-4fd7-89be-515e86c8aeb4@googlegroups.com> In-Reply-To: <2fe842c3-1e5c-4fd7-89be-515e86c8aeb4@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 68.145.219.148 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: 1411657326 68.145.219.148 (Thu, 25 Sep 2014 15:02:06 UTC) NNTP-Posting-Date: Thu, 25 Sep 2014 15:02:06 UTC Date: Thu, 25 Sep 2014 09:02:06 -0600 X-Received-Bytes: 2760 X-Received-Body-CRC: 61116459 X-Original-Bytes: 2678 Xref: number.nntp.dca.giganews.com comp.lang.ada:189152 Date: 2014-09-25T09:02:06-06:00 List-Id: On 14-09-25 02:30 AM, Maciej Sobczak wrote: > W dniu środa, 24 września 2014 11:37:49 UTC+2 użytkownik Alejandro R. Mosteo napisał: > >> I was thinking about the possibility of requesting the installation of an Ada compiler in such cluster, and also if the DSA can fulfill my needs. > > You can make it work, but be aware that DSA was not invented with heterogeneous systems in mind. That is, the annex does not define the wire-level protocol nor even the data type mappings, so depending on the particular implementation you might be forced to use the same compiler version for all nodes and obviously all of the nodes will have to be written in Ada. This might sound like heaven for some, but in a distributed system it might as well become a maintenance and integration nightmare and if at the end you will have to use additional protocols for integration with existing software or for adding software written by others or for other functions like remote monitoring or configuration scripts, etc., then it will become a bloody mess, which kind of contradicts the intentions of using Ada in the first place. For this reason I would not use DSA at all and instead try some technology-neutral communication solution. > > I don't claim that the above considerations are bound to be problems, but certainly they are something to think about before you start. > 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. 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.