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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,eb00b9b968ac2b79 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.66.89.196 with SMTP id bq4mr890680pab.26.1346981013666; Thu, 06 Sep 2012 18:23:33 -0700 (PDT) Path: t10ni3690099pbh.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?w4FsZXggUi4=?= Mosteo Newsgroups: comp.lang.ada Subject: Re: Ada networking (Adagio) Date: Thu, 30 Aug 2012 19:18:50 +0200 Organization: A noiseless patient Spider Message-ID: References: <296db66c-9246-4801-b293-c116e5c21f6b@googlegroups.com> <2ef339a5-2e40-49e9-b5dc-4bb018b93bda@googlegroups.com> <25c0792f-6258-4902-9a7d-e45db9e6ca50@googlegroups.com> Mime-Version: 1.0 Injection-Date: Thu, 30 Aug 2012 17:18:47 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="99cff88a3092f3ad77be66d4ad22221a"; logging-data="29524"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+85qkf85m8Aj8Mm9huuhlm" User-Agent: KNode/4.8.5 Cancel-Lock: sha1:cfCKgrMobwvrn0UXJltc2rVUUzk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Date: 2012-08-30T19:18:50+02:00 List-Id: The current version compiles (in linux) with GPL2012 (gcc4.6 from Ubuntu 12.04 enters a busy loop, not tested with the saner Debian father), but from there to it working... I'm not even sure that the G2 network operates anymore. Alex. > Shark8 wrote: > >> On Wednesday, August 29, 2012 5:08:08 AM UTC-6, Álex R. Mosteo wrote: >>> Álex R. Mosteo wrote: >>> >>> >>> Project file is adagio.gpr. There are others for related projects that >>> never got anywhere, so I'm leaving these for later. >> >> Alright, I'll grab a copy. >> >>> >>> It doesn't compile yet, although I've started fixing things around. I'm >>> pretty sure I've broken something in the process. Truth is, it relied >>> too much on Gnat sockets internals that have changed. It was somewhat >>> nightmarish getting consistent results in Windows and Linux, I remember >>> now. >> >> Not surprising. I'm not sure if sockets are the best way to handle >> networking in-general -- though they certainly are the most popular. > > I've used Yarp (mandated in a project) and came to hate it. But I'm pretty > sure that there are better middlewares out there. From the point of view > of ready for use with Ada I'm curious about YAMI4 and zeromq. > >>> I'm also having problems with Pragmarc components that return limited >>> types. I think this is one of the few inconsistencies between Ada95 and >>> 2005. I'm making these things non-limited, but I'm not sure what are the >>> implications... >> >> Ah, something to note. I was playing around with the Ada 2012 / 2005 >> functionality in a testing project and found that GNAT (Adacore's free >> one) allowed my to specify different Ada-versions for spec and body. eg: >> >> Pragma Ada_2005; >> Package Testing is [...] end Testing; >> >> ------ >> >> Pragma Ada_2012; >> Package Body Testing is [...] end Testing; >> >> or vice-versa. > > Right, I had forgotten about the mode switches too. I'm thinking now that > I should revert in fact to ada95 mode, which is what existed at the time. > I'll give it a try. > > Alex.