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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.54.73 with SMTP id p9mr42220344qag.1.1373910263239; Mon, 15 Jul 2013 10:44:23 -0700 (PDT) X-Received: by 10.49.129.104 with SMTP id nv8mr1763486qeb.27.1373910263219; Mon, 15 Jul 2013 10:44:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!t19no1604584qam.0!news-out.google.com!dk8ni0qab.0!nntp.google.com!t19no1708768qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 15 Jul 2013 10:44:23 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=157.127.124.14; posting-account=mjE6MAoAAADjsB3NIuKgfHO4u-Elh3cb NNTP-Posting-Host: 157.127.124.14 References: <20130712075752.46e2cf01@atmarama.noip.me> <7619c730-b138-4bd9-a0e7-9c80d26f7f00@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <37347a9a-51f5-4a00-bc28-5e2daa8043e3@googlegroups.com> Subject: Re: Ada-Python demo From: Marc C Injection-Date: Mon, 15 Jul 2013 17:44:23 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:16365 Date: 2013-07-15T10:44:23-07:00 List-Id: On Saturday, July 13, 2013 4:06:31 PM UTC-5, Maciej Sobczak wrote: > Heck, I cannot agree with this. Both JSON and ZeroMQ is just low-level me= ss. > > You might want to read this: > =20 > http://www.inspirel.com/articles/YAMI4_vs_ZeroMQ.html >=20 > I also find it disturbing that you consider JSON to be appropriate on the= Ada side. What about this: >=20 > http://www.inspirel.com/yami4/book/10.html > http://www.inspirel.com/yami4/book/10-2.html > http://www.inspirel.com/yami4/book/10-4-1.html > > YAMI4 allows you to write your next (!) distributed system without sacrif= icing the advantages of Ada. Integration with the Ada tasking model and typ= e safety are features that you should be asking for. YAMI4 is a perfectly fine distributed messaging system, I've got no argumen= t with its strengths and capabilities, and it has clearly been put to excel= lent use. The messaging interfaces I'm referring to here are *very* simple. Nearly al= l of the handful of commands consist of a Target_ID (String), Command (Stri= ng), and Associated_Data_Item (String). The response/broadcast messages con= sist of Source_ID (String), Error_Status_Message (String), and Data (String= ). This is *all* that's needed for these applications. Should more complex = interaction be required, the messaging infrastructure decision would be ree= valuated. ZeroMQ has an Ada binding (http://www.zeromq.org/bindings:ada), around whic= h I wrapped a thicker binding, TOMI_4_Ada (http://sourceforge.net/projects/= tomi4ada). So it's perfectly comfortable being integrated into a multi-task= ing Ada application. Maintaining an IDL (or a YDL), performing code generation, and integrating = the generated code skeletons into the app is way more than what's needed he= re given the minimal requirements and the tools that are already at hand. At some point the app may be distributed, and the desire is to leave open t= he possibility of customers writing their own site-specific viewers and con= trollers. It's much easier to tell them then can leverage their own in-hou= se JSON expertise over the well-known ZeroMQ protocol, than tell them they = have to acquire YAMI4 and either go GPL or purchase a license. While we're fully comfortable with full GPL for applications, we don't like= it for utilities/libraries/infrastructure type things. LGPL, GMGPL or some= variant thereof is much preferred. While YAMI4 provides a Boost license fo= r some fee, the accompanying dedicated technical support, while surely valu= able to those who need it--is not needed for these apps. With a simple interface, capable bindings readily available, and no license= management to worry about, JSON over ZMQ was an easy decision for these pa= rticular applications. YMMV. Marc A. Criley