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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d1533431e7e9d2eb X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: Nontrivial examples of C interface with Ada Date: 2000/05/24 Message-ID: <392CC401.74142EFD@quadruscorp.com>#1/1 X-Deja-AN: 626998500 Content-Transfer-Encoding: 7bit References: <9ckmisoo8k0dh1gcajhdgqtqjqc3bjmb25@4ax.com> <392C1898.E41F1C@quadruscorp.com> <392C01F5.1B543D0C@silver.jhuapl.edu> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 25 May 2000 03:14:59 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-25T03:14:59+00:00 List-Id: Scott Ingram wrote: > > The GTKAda binding is a very good example of a relatively thick binding > to > C code. I have not looked at that, but it would be nice to see more bindings that were thicker than the Win32ada binding. Mind you, I understand the value of doing the thin bindings. You've got to keep up with the "real" code and much of this sort of thing is done automatically. I doubt there is a good way of automatically generating bindings that would translate C-isms into Ada-isms, but ultimately, I want to access system routines and such using normal Ada data structures and methods. Sometimes you may lose access to every possible feature by doing this, or adding some processing overhead to do conversions, but normally I'd consider it worth it. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================