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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b582310cfc030f2c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-15 08:57:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Mixed languages and frustration. Date: 15 Oct 2003 11:50:15 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1066233215 13999 128.183.235.92 (15 Oct 2003 15:53:35 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 15 Oct 2003 15:53:35 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:900 Date: 2003-10-15T15:53:35+00:00 List-Id: Freejack 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