comp.lang.ada
 help / color / mirror / Atom feed
From: "Álex R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Ada networking (Adagio)
Date: Thu, 30 Aug 2012 19:18:50 +0200
Date: 2012-08-30T19:18:50+02:00	[thread overview]
Message-ID: <k1o79n$sqk$1@dont-email.me> (raw)
In-Reply-To: k1nb4k$hg1$1@dont-email.me

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.




  reply	other threads:[~2012-09-07  1:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-12 20:22 Ada networking (Adagio) Shark8
2012-08-13 12:07 ` Martin
2012-08-13 13:45   ` Shark8
2012-08-13 14:34     ` Martin
2012-08-20  8:59 ` Álex R. Mosteo
2012-08-20 14:30   ` Shark8
2012-08-21  9:25     ` Álex R. Mosteo
2012-08-21 15:25       ` Shark8
2012-08-24 10:31         ` Álex R. Mosteo
2012-08-29 11:08           ` Álex R. Mosteo
2012-08-29 18:36             ` Shark8
2012-08-30  9:18               ` Álex R. Mosteo
2012-08-30 17:18                 ` Álex R. Mosteo [this message]
2012-09-11 17:18                   ` Shark8
replies disabled

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