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,1563af5c167aacf2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-19 12:32:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: thick? thin? binding X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <7%4Q8.6131$ZP1.1160926@news11-gui.server.ntli.net> Date: Wed, 19 Jun 2002 20:27:35 +0100 NNTP-Posting-Host: 80.5.140.234 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 1024515139 80.5.140.234 (Wed, 19 Jun 2002 20:32:19 BST) NNTP-Posting-Date: Wed, 19 Jun 2002 20:32:19 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:26426 Date: 2002-06-19T20:27:35+01:00 List-Id: "Immanuel Scholz" wrote in message news:aeqjst$96ip3$1@ID-100557.news.dfncis.de... > Hi, > > I read through 1 and a half Ada book and still doesnt catch what "thick" or > "thin" binding mean... A binding is an interface to external code (something that's not written in Ada and/or which you have to import to use) like win32, OpenGL or a data structures library written in fortran or C. A "thin" binding is a 'one to one mapping to Ada of whatever interface the foreign program provides'(1). The Win32 binding for GNAT being a good example, it's just a one to one mapping to the win32 api and makes you pity C programmers :( A "think" binding is more abstract, providing a nice 'Ada-like view of the foreign program'(2). They're the lovely bindings like GtkAda and Gwindows which use object orientation, tasking, or anything else found in Ada to provide a nice, neat interface for ppl to use (you almost don't need to know what the underlying program looks like). Chris (1) & (2) Wheeler, Ada 95: The Lovelace Tutorial p174, section 16.3