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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1eef1e815cf70416 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.152.217 with SMTP id h25mr400107bkw.3.1339065464049; Thu, 07 Jun 2012 03:37:44 -0700 (PDT) Path: e27ni23368bkw.0!nntp.google.com!news1.google.com!postnews.google.com!w24g2000vby.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Distributed Systems Annex, data sharing between programs Date: Thu, 7 Jun 2012 03:37:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <8055acf5-188f-4b34-b4f0-83d70fee54f8@googlegroups.com> <96feb838-e0d3-4d06-abf0-79a8e74b5746@e20g2000vbm.googlegroups.com> <54af7ad7-7268-4d84-bafa-542e380a58f6@n16g2000vbn.googlegroups.com> NNTP-Posting-Host: 83.3.40.82 Mime-Version: 1.0 X-Trace: posting.google.com 1339065463 27209 127.0.0.1 (7 Jun 2012 10:37:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 7 Jun 2012 10:37:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w24g2000vby.googlegroups.com; posting-host=83.3.40.82; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.27) Gecko/20120216 Firefox/3.6.27,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-07T03:37:43-07:00 List-Id: On 6 Cze, 22:02, Niklas Holsti wrote: > MessagePack looks potentially useful, but I also think it illustrates > the drawbacks of a multi-language middleware compared to the Ada DSA, > such as a limitation to low-level "physical" types. There is no limitation to low-level types, as MessagePack supports user-defined types as well. Of course, they have to all based on some set of fundamental types, but this is also true in Ada. I can imagine a ASIS->MessagePack serializer generator. > >http://inspirel.com/yami4/ > > Nice tutorial video. But here, too, I get the impression of working one > layer below the DSA level, mostly. No, it is neither below nor above. YAMI4 is an asynchronous messaging system and as such has no direct analogies in synchronous RPC system as DSA. At the very high conceptual level both can be used to "communicate" (and this is where they compete), but from the paradigm point of view they offer different set of patterns and idioms (and this is where they don't compete). In other words, some problems have very direct solutions with DSA, due to its synchronous nature and integration with the language, but some other problems have easier solutions with YAMI4. This means that they cannot be compared in terms of being higher- or lower-level. -- Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com