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,a965a2c097437981 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-01 09:56:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: ANN: GMGPL Claw Page Date: 1 May 2002 09:56:57 -0700 Organization: http://groups.google.com/ Message-ID: <4519e058.0205010856.191542a4@posting.google.com> References: <4519e058.0204300527.4bddd952@posting.google.com> <9gBz8.4052$wr1.2380283950@newssvr21.news.prodigy.com> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1020272218 14403 127.0.0.1 (1 May 2002 16:56:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 1 May 2002 16:56:58 GMT Xref: archiver1.google.com comp.lang.ada:23350 Date: 2002-05-01T16:56:58+00:00 List-Id: tmoran@acm.org wrote in message news:<9gBz8.4052$wr1.2380283950@newssvr21.news.prodigy.com>... > Claw uses 'access', not system.address, which is not, in fact, always > the same thing as a C pointer. Right. I seem to rememer a discussion here a long time ago, where the general conclusion was that, while in theory there is no guarantee System.Adress is implemented in any specific way, in practice System.Address is more likely to match up with a C pointer than an access type is. > I really can't understand why, given the examples of > System.Address_To_Access_Conversions, Interfaces.C.Strings, > Interfaces.C.Pointers, and a given a demonstrated ability to move > comfortably among different abstractions, anyone would use such a low > level, implementation defined thing as System.Address. Given the > frequency with which it's done in c.l.a. postings, I guess it seems > reasonable to more than a few people. #.# I think the only place I ever use it any more is in bindings (where you are generally at a icky low level anyway). However, I'd have to check my code to see exactly where it is used. I know I'm rather liberal with Addresses on unused pointer parameters, but I can't remember how I was doing *used* pointer parameters. I'm pretty sure I don't make much use of Interfaces.C.Pointers. Perhaps that's a bad move? Anyway, the possible issues with System.Address is why I mentioned it. I'm certianly willing to learn the proper portable way to get at C pointers, and from the looks of things, the folks who wrote Claw would know a thing or two about portability. :-) -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html