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-Thread: 103376,b68ad30ece6a8cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 31 Jan 2007 12:31:09 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Binding or not binding References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Wed, 31 Jan 2007 12:31:10 -0600 NNTP-Posting-Host: 67.164.83.70 X-Trace: sv3-bXqAfYphFreefNYPF/QNFaoYx+shR3qXdJkgecFH0gaEbqWbABqkHVxsyTNPx673iyupabyeeqswl0d!8ff0WrXadnaDdA6OvQ1O0Qz2QpM08Xl99AfPECtS+iO9rczJlJ6htK/czVJPRkLmXojM/Io9GpLc!71lFQd5a9C9S7Q== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:8784 Date: 2007-01-31T12:31:10-06:00 List-Id: > > Another example, do you think it would have been wise to recode the Gtk+ > > library in Ada... certainly not :) > > I wouldn't be so sure. In a long term perspective it certainly makes sense. In addition to the "how easy is it to rewrite in Ada or to write a thin binding in Ada" questions mentioned: Is the underlying library subject to important iplementation change (efficiency, for instance), so that you would have to modify an all-Ada version to keep up? Is there a question of thick/thin binding? Do you want the Ada binding to be type-safe, use exceptions, avoid pointers, etc, or just to be a thin set of pragma imports? How good is the library you are looking at? Do the routines actually act as their documentation says? If not, do you want your binding to expose those problems to its users, or to internally work around, and thus hide, them? Just a few considerations.