From: "Gerhard Häring" <g.haering@___skynamics.com.invalid>
Subject: Re: Another good URL for all you C++ haters
Date: Wed, 05 Sep 2001 14:22:33 +0200
Date: 2001-09-05T14:22:33+02:00 [thread overview]
Message-ID: <3B961909.4020705@___skynamics.com.invalid> (raw)
In-Reply-To: 3b9604b1.10736828@news.geccs.gecm.com
Chris M. Moore wrote:
> http://www.byte.com/documents/s=1271/byt20010831s0001/0903_nichols.html
>
> Excerpt:
>
> Even Floyd, who loves the language, admits that, "Its greatest
> weaknesses is a flaw in the interface/implementation separation. A
> class exposes its private data/methods to the world and a programmer
> must use some tricks (that should be supported directly in the
> language) to overcome this."
>
> Whay I'd really like to see which would give Ada a huge lead over Java
> would be a tool which takes C++ declarations and produced Ada
> bindings. The GNAT User manual hints that such a tool exists but
> states that ACT don't distribute it.
Could you tell us where in the manual to find this hint?
> I remember seeing something
> somewhere about bindings being generated automatically by SGI. Are
> these tools still available?`
You can google for "c2ada" and "cbind".
IMO these tools inevitably suck because complicated C headers with lots
of #defines (even parts of structs conditionally defined in and out and
such; nested structs, ...) don't map nicely to Ada (for pyAda, I ended
up writing all the interfacing stuff by hand).
That's why COM, CORBA, XPCOM and friends where invited. Have an IDL/type
library describe the interface and create correct bindings for your
language automatically.
Gerhard
--
Gerhard H�ring
skynamics AG
g.haering@skynamics.com
http://www.skynamics.com
next prev parent reply other threads:[~2001-09-05 12:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-05 11:08 Another good URL for all you C++ haters Chris M. Moore
2001-09-05 12:22 ` Gerhard Häring [this message]
2001-09-05 13:43 ` Ted Dennison
2001-09-06 12:04 ` Chris M. Moore
2001-09-06 19:12 ` Robert Dewar
2001-09-07 10:30 ` Chris M. Moore
2001-09-07 11:12 ` Larry Kilgallen
2001-09-08 9:37 ` Florian Weimer
2001-09-05 14:43 ` James Rogers
2001-09-05 21:25 ` Florian Weimer
2001-09-05 21:49 ` James Rogers
2001-09-06 15:33 ` John McCabe
2001-09-06 16:57 ` James Rogers
2001-09-07 17:54 ` Tucker Taft
2001-09-08 10:11 ` Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox