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,3398541ec18f6aa6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe23.ams2.POSTED!40385e62!not-for-mail From: Per Sandberg User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Taking another spanking. References: <6f8fcf5b-09d7-40b6-9ac3-ed7e9f228b89@t21g2000yqi.googlegroups.com> <0ca1d49a-c13b-4dad-907e-982bcfb6c01f@q2g2000vbr.googlegroups.com> <%MEVl.318080$4m1.110366@bgtnsc05-news.ops.worldnet.att.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <96fWl.3064$z92.689@newsfe23.ams2> X-Complaints-To: abuse@WWWSpace.NET NNTP-Posting-Date: Fri, 05 Jun 2009 20:20:21 UTC Date: Fri, 05 Jun 2009 21:25:02 +0200 Xref: g2news2.google.com comp.lang.ada:6314 Date: 2009-06-05T21:25:02+02:00 List-Id: To fill in from an GNATPro user. In the recent versions of gnatpro gcc and g++ got a new switch "-fdump-ada-spec" that will generate Ada specs from a C or C++ header files. /Very convenient and it works like a dream when interfacing libraries with interfaces specified in the languages C and C++. /Per sjw wrote: > On Jun 4, 1:43 am, a...@anon.org (anon) wrote: > > Are you really just one person, or a collective? Sometimes you're > sensible, sometimes plain bananas .. this time on the sensible side. I > wish you'd admit to your real name! > >> But some like you talk that Ada should NEVER go beyond the RM and use >> Sockets, that is just wrong. Ada like all languages must be able to adapt and >> handle all devices both physical as well as virtual to be compatible to be used >> for all applications. Else its the death by limitation of the language. > > Nothing wrong with GNAT.Sockets, use it all the time. But see no need > to go the .Thin level. If I did, I wouldn't moan at AdaCore for > changing it. > >> But then again, I think it was you that stated last year that if you rewrote >> or updated "C2Ada" you would never write the program in Ada! > > c2ada is written in C, with some Python that I haven't had to > understand yet (and which seem to be related to converting C _bodies_ > to Ada, not a sensible project or one likely to lead to success IMO). > > So I might have said that I would rewrite it in Ada; but now, given > that AdaCore have announced a conversion facility, I think I'll find > something more worth while.