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: tmoran@bix.com Subject: Re: Nontrivial examples of C interface with Ada Date: 2000/05/28 Message-ID: #1/1 X-Deja-AN: 628161207 References: <3930178D.93CA1EDB@quadruscorp.com> X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 959492487 206.170.24.1 (Sat, 27 May 2000 22:41:27 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Sat, 27 May 2000 22:41:27 PDT Newsgroups: comp.lang.ada Date: 2000-05-28T00:00:00+00:00 List-Id: >stop calling it a "binding" and start calling it a "subsystem" or Take a look at www.adapower.com in the list under "Win32 bindings". Clearly several of those are what you would call subsystems, not bindings. I suggest we adopt the idea of R-values of insulation thickness. Then an R-1 binding is Ada syntax, acceptable to an Ada compiler, but C in spirit, ie, pass pointers, return flags, etc. I'd say an R-4 binding has exceptions and types, but still a 1-1 map between C functions and Ada procedures. I'd call CLAW an R-15, say, because it does indeed insulate you from many of the characteristics of the C API, but still follows the general outline. In particular, your program built with CLAW will have the "look and feel" of a Windows program to its users. A platform independent "subsystem", eg GtkAda or Tcl/Tk, would be labeled R-50 - you have an internal environment that is almost totally independent of the external environment. If you don't like that, then at least let's have a less general term than "subsystem". ;)