comp.lang.ada
 help / color / mirror / Atom feed
From: Per Sandberg <per.sandberg@bredband.net>
Subject: Re: Taking another spanking.
Date: Fri, 05 Jun 2009 21:25:02 +0200
Date: 2009-06-05T21:25:02+02:00	[thread overview]
Message-ID: <96fWl.3064$z92.689@newsfe23.ams2> (raw)
In-Reply-To: <bb5ed272-2e72-4d39-8855-242b8a12e4b1@m19g2000yqk.googlegroups.com>

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.



  reply	other threads:[~2009-06-05 19:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02  8:28 Taking another spanking Petter
2009-06-02 12:16 ` Per Sandberg
2009-06-03  6:11 ` sjw
2009-06-03  7:22   ` Petter
2009-06-03  9:34     ` Pascal Obry
2009-06-03 10:40 ` anon
2009-06-03 19:13   ` sjw
2009-06-04  0:43     ` anon
2009-06-05 19:30       ` sjw
2009-06-05 19:25         ` Per Sandberg [this message]
2009-06-06  3:31           ` anon
2009-06-06 10:26           ` sjw
2009-06-06  3:17         ` anon
2009-06-06 13:28           ` Georg Bauhaus
2009-06-06 17:26             ` tmoran
2009-06-06 17:56             ` anon
2009-06-08 22:40             ` Randy Brukardt
2009-06-09  4:29               ` sjw
replies disabled

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