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.205.126.4 with SMTP id gu4mr553484bkc.8.1345804404883; Fri, 24 Aug 2012 03:33:24 -0700 (PDT) Received: by 10.180.95.2 with SMTP id dg2mr302830wib.2.1345804404446; Fri, 24 Aug 2012 03:33:24 -0700 (PDT) Path: m12ni129035bkm.0!nntp.google.com!news1.google.com!7no41441741wig.0!news-out.google.com!q11ni290415867wiw.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!news2.euro.net!216.196.110.145.MISMATCH!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!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: Fri, 24 Aug 2012 12:31:08 +0200 Organization: A noiseless patient Spider Message-ID: References: <296db66c-9246-4801-b293-c116e5c21f6b@googlegroups.com> <2ef339a5-2e40-49e9-b5dc-4bb018b93bda@googlegroups.com> Mime-Version: 1.0 Injection-Date: Fri, 24 Aug 2012 10:33:24 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="ecb640279bc7d37568b22d1f3cb7cdd8"; logging-data="29371"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2pbYXJ8AEeo4s2aDlFXwo" User-Agent: KNode/4.8.5 Cancel-Lock: sha1:7WCE0sNL1kddRx45yNV2TtT5vBc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Date: 2012-08-24T12:31:08+02:00 List-Id: Shark8 wrote: > On Tuesday, August 21, 2012 3:25:44 AM UTC-6, Álex R. Mosteo wrote: >> Shark8 wrote: >> >> >> > On Monday, August 20, 2012 2:59:00 AM UTC-6, Álex R. Mosteo wrote: >> >> >> >> >> I'm the author and I'm pretty sure I keep the whole history in some >> >> archived SVN. If you're interested I could try to dig it out. Also, >> >> perhaps I could simply convert it to git and put it in github. >> >> > Ah, that would be nice; I did get the zip from Martin though. >> > >> >> >> I'm not sure how good a resource it is for learning from; I did learn >> >> a lot about blocking and non-blocking sockets when programming that (I >> >> experimented with both approaches -- IIRC a stack size related thread >> >> limit in Windows prompted me to abandon blocking IO in the end), but >> >> the code more or less grew up with little foreplanning. >> > >> >> > Ah, I know how that is. The thing that's bugging me about it right now >> > is the gnatpatch and runtime-configuration errors. (Still trying to >> > figure them out.) >> >> Ah, right. There was a Calendar bug in the windows GNAT version at the >> time that caused random thread lock-ups in delays. That caused me a lot >> of headaches to track down; I managed with the help of people here: >> >> https://groups.google.com/d/msg/comp.lang.ada/cdHjb8qqm5A/U8buGZrldhIJ > > I'll have to check that out. Thank you for the reference. > {I also find it somewhat surprising that the Calendar would have a bug; > {timing seems to be one of the things that Ada as-a-language put a lot of > {thought into. Ironically addressing a lot of the "Tony the Pony" speech > {on common programming pitfalls.} It was a obscure bug in the old 3.15p version. As is the case with recent free versions, they don't get patched and if some bug sneaks in we're stuck with it for the remainder of their lifetime. The bug was specific to Windows and some particular hardware IIRC. >> Also there were some other problems with unbounded strings IIRC. >> >> I'm pretty sure that with recent Gnat versions you can dispense with the >> patching of the compiler. OTOH, perhaps the code won't readily compile >> with Gnat GPL 2012, but fixing whatever is now rejected might be easy. > > Hm, I'll have to give it a try. > >> >> I'm going to try to find it and put it in GitHub, and we can work from >> there to put it in shape, if you want. > > That'd be great / thanks! I'll give it a shot now then. Alex.