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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ff744c4726ec64fd X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: What is differance between thick and thin binding? Date: 1999/08/10 Message-ID: <37B0429C.EA2184F1@pwfl.com>#1/1 X-Deja-AN: 511078509 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <934219556.19836@www.remarq.com> <7oo2d2$gjm$1@usenet01.srv.cis.pitt.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: e108678@pwflcom Newsgroups: comp.lang.ada Date: 1999-08-10T00:00:00+00:00 List-Id: John Duncan wrote: > The CLAW package and the Windex package are thick bindings. There, the > structure of the win32 SDK is not as obvious from the packages, rather they > are organized as an Ada-like front-end to the code written in "C". My impression of CLAW was that it was substantially more than a "binding" - that it provided its own environment which rides on top of the Win32api, but does not attempt to exactly duplicate it. Perhaps this is more of a semantic issue, but I'd consider a thick binding to be one which provided a parallel set of subprogram interfaces to the Win32api (as an example) but which provided parameter types and passing mechanisms more suited to Ada. The best example is the nuisance of trying to turn an Ada string into a C string where a thick binding would just accept the Ada string and translate for you. Or maybe we need degrees of thickness? When does a body of software stop being a binding and start being an entity in its own right? MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 ***To reply, remove "bogon" from the domain name.*** Visit my web page at: http://www.mcondic.com/