From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Mixed languages and frustration.
Date: 15 Oct 2003 11:50:15 -0400
Date: 2003-10-15T15:53:35+00:00 [thread overview]
Message-ID: <un0c21ow8.fsf@nasa.gov> (raw)
In-Reply-To: pan.2003.10.14.20.30.30.107171.1209@nospam.net
Freejack <user@nospam.net> writes:
> Alright, so I'm sitting here trying to juggle between C pointers and Ada
> access types/allocators, with moderate success. And I start wondering to
> myself "How many people on comp.lang.ada nearly blow a fuse when doing
> the same thing?"
I try to avoid code in C at all costs.
When I do need to pass pointers to C, I just use 'Address on the Ada
side. It's not guarantteed portable, but neither is the C code, so
it's good enough. And it's far easier to get right, and usually more
efficient, than messing with Interfaces.C pointer stuff.
--
-- Stephe
next prev parent reply other threads:[~2003-10-15 15:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 20:24 Mixed languages and frustration Freejack
2003-10-14 20:48 ` Robert I. Eachus
2003-10-14 20:53 ` sk
2003-10-14 21:53 ` Wes Groleau
2003-10-15 0:01 ` Freejack
2003-10-15 2:58 ` Jeffrey Carter
2003-10-15 4:32 ` Wes Groleau
2003-10-15 4:24 ` Steve
2003-10-15 15:50 ` Stephen Leake [this message]
2003-10-16 6:40 ` Ole-Hjalmar Kristensen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox